Initializerswift-nio 2.72.0_NIOFileSystem
init(direntType:)
Initializes a file type from the d_type
from dirent
.
This declaration is gated by at least one @_spi attribute.
init(direntType: UInt8)
Other members in extension
Type members
init(platformSpecificMode: CInterop.Mode
) Initializes a file type from a
CInterop.Mode
.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.