mirror of
https://github.com/apple/container.git
synced 2026-09-11 18:25:41 +00:00
LinuxContainer: Remove IOHandler (#235)
Is unused after the config rework.
This commit is contained in:
@@ -127,20 +127,6 @@ public final class LinuxContainer: Container, Sendable {
|
||||
public init() {}
|
||||
}
|
||||
|
||||
/// `IOHandler` informs the container process about what should be done
|
||||
/// for the stdio streams.
|
||||
struct IOHandler: Sendable {
|
||||
public var stdin: ReaderStream?
|
||||
public var stdout: Writer?
|
||||
public var stderr: Writer?
|
||||
|
||||
init(stdin: ReaderStream? = nil, stdout: Writer? = nil, stderr: Writer? = nil) {
|
||||
self.stdin = stdin
|
||||
self.stdout = stdout
|
||||
self.stderr = stderr
|
||||
}
|
||||
}
|
||||
|
||||
private let state: Mutex<State>
|
||||
|
||||
// Ports to be allocated from for stdio and for
|
||||
|
||||
Reference in New Issue
Block a user