Initializerswift-nio 2.72.0_NIOFileSystem
init(platformSpecificMode:)
Initializes a file type from a CInterop.Mode
.
init(platformSpecificMode: CInterop.Mode)
Note: an appropriate mask is applied to mode
.
Other members in extension
Type members
static var allCases: [FileType]
static var block: `Self`
Hardware block device.
static var character: `Self`
Hardware character device.
static var directory: `Self`
Directory.
static var fifo: `Self`
FIFO (or named pipe).
static var regular: `Self`
Regular file.
static var socket: `Self`
Socket.
static var symlink: `Self`
Symbolic link.
static var unknown: `Self`
A file of unknown type.
static var whiteout: `Self`
Whiteout file.
Show system interfaces (1)
Hide system interfaces
init(direntType: UInt8
) Initializes a file type from the
d_type
fromdirent
.