LinuxContainer: Remove IOHandler (#235)

Is unused after the config rework.
This commit is contained in:
Danny Canter
2025-07-28 12:15:23 -04:00
committed by GitHub
parent 41c3e4a2c3
commit 71a5765d7f
@@ -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