mirror of
https://github.com/cirruslabs/tart.git
synced 2026-10-07 23:00:57 +02:00
* Package.swift: add SwiftFormat Can be invoked with "swift package plugin swiftformat". * $ swift package plugin swiftformat * .cirrus.yml: run SwiftFormat * SwiftFormat: exclude Sources/tart/OCI/Reference/Generated
17 lines
322 B
Swift
17 lines
322 B
Swift
import Foundation
|
|
import Virtualization
|
|
|
|
class NetworkShared: Network {
|
|
func attachment() -> VZNetworkDeviceAttachment {
|
|
VZNATNetworkDeviceAttachment()
|
|
}
|
|
|
|
func run(_ sema: DispatchSemaphore) throws {
|
|
// no-op, only used for Softnet
|
|
}
|
|
|
|
func stop() async throws {
|
|
// no-op, only used for Softnet
|
|
}
|
|
}
|