MockingDriver
Mocking.swift:90This declaration is gated by at least one @_spi attribute.
final class MockingDriver
This declaration is gated by at least one @_spi attribute.
final class MockingDriver
import _NIOFileSystem
A file system library for Swift.
static var enabled: Bool { get }
static var forceWindowsPaths: Bool { get }
static func withMockingEnabled(_ f: (MockingDriver) throws -> Void) rethrows
Enables mocking for the duration of f
with a clean trace queue Restores prior mocking status and trace queue after execution
var forceErrno: ForceErrno
var trace: Trace