blockSpecial
TypeScriptget blockSpecial(): FileTypeSwift declarationstatic var blockSpecial: FileType { get }Block special device The corresponding C constant is `S_IFBLK`.
struct · iOS 27.0+ · SDK 27.1
@frozen struct FileTypeA file type matching those contained in a C `mode_t`. - Note: Only available on Unix-like platforms.
get blockSpecial(): FileTypeSwift declarationstatic var blockSpecial: FileType { get }Block special device The corresponding C constant is `S_IFBLK`.
get symbolicLink(): FileTypeSwift declarationstatic var symbolicLink: FileType { get }Symbolic link The corresponding C constant is `S_IFLNK`.
get characterSpecial(): FileTypeSwift declarationstatic var characterSpecial: FileType { get }Character special device The corresponding C constant is `S_IFCHR`.
get fifo(): FileTypeSwift declarationstatic var fifo: FileType { get }FIFO (or named pipe) The corresponding C constant is `S_IFIFO`.
get socket(): FileTypeSwift declarationstatic var socket: FileType { get }Socket The corresponding C constant is `S_IFSOCK`.
get regular(): FileTypeSwift declarationstatic var regular: FileType { get }Regular file The corresponding C constant is `S_IFREG`.
init(rawValue: SDKHandle): FileTypeSwift declarationinit(rawValue: CInterop.Mode)Creates a strongly-typed file type from the raw C `mode_t`. - Note: This initializer stores the `rawValue` directly and **does not** mask the value with `S_IFMT`. If the supplied `rawValue` contains bits outside of the `S_IFMT` mask, the resulting `FileType` will not compare equal to constants like `.directory` and `.symbolicLink`, which may be unexpected. If you're unsure whether the `mode_t` contains bits outside of `S_IFMT`, you can use `FileMode(rawValue:)` instead to get a strongly-typed `FileMode`, then call `.type` to get the properly masked `FileType`.
getRawValue($self: FileType): SDKHandleSwift declarationvar rawValue: CInterop.ModeThe raw file-type bits from the C mode.
setRawValue($self: FileType, value: SDKHandle): voidSwift declarationvar rawValue: CInterop.ModeThe raw file-type bits from the C mode.
get whiteout(): FileTypeSwift declarationstatic var whiteout: FileType { get }Whiteout file The corresponding C constant is `S_IFWHT`.
get directory(): FileTypeSwift declarationstatic var directory: FileType { get }Directory The corresponding C constant is `S_IFDIR`.
No declarations were skipped in this snapshot.