Initializerswift-nio 2.84.0_NIOFileSystem
init(platformSpecificMode:)
Initializes a file type from a CInterop.Mode
.
init(platformSpecificMode: CInterop.Mode)
Note: an appropriate mask is applied to mode
.
Initializes a file type from a CInterop.Mode
.
init(platformSpecificMode: CInterop.Mode)
s14_NIOFileSystem8FileTypeV20platformSpecificModeACs6UInt32V_tcfc
What are these?8UT0B
Note: an appropriate mask is applied to mode
.
import _NIOFileSystem
A file system library for Swift.
struct FileType
The type of a file system object.
enum CInterop
A namespace for C and platform types
typealias Mode = UInt32
init(direntType: UInt8)
Initializes a file type from the d_type
from dirent
.
static var allCases: [FileType] { get }
static var block: FileType { get }
Hardware block device.
static var character: FileType { get }
Hardware character device.
static var directory: FileType { get }
Directory.
static var fifo: FileType { get }
FIFO (or named pipe).
static var regular: FileType { get }
Regular file.
static var socket: FileType { get }
Socket.
static var symlink: FileType { get }
Symbolic link.
static var unknown: FileType { get }
A file of unknown type.
static var whiteout: FileType { get }
Whiteout file.
var description: String { get }