Instance Propertyswift-nio 2.81.0_NIOFileSystem
description
FileType.swift:77var description: String { get }
var description: String { get }
import _NIOFileSystem
A file system library for Swift.
struct FileType
The type of a file system object.
@frozen struct String
A Unicode string value that is a collection of characters.
init(direntType: UInt8)
Initializes a file type from the d_type
from dirent
.
init(platformSpecificMode: CInterop.Mode)
Initializes a file type from a CInterop.Mode
.
static var allCases: [FileType] { get }
static var block: Self { get }
Hardware block device.
static var character: Self { get }
Hardware character device.
static var directory: Self { get }
Directory.
static var fifo: Self { get }
FIFO (or named pipe).
static var regular: Self { get }
Regular file.
static var socket: Self { get }
Socket.
static var symlink: Self { get }
Symbolic link.
static var unknown: Self { get }
A file of unknown type.
static var whiteout: Self { get }
Whiteout file.