ExistingFile
Options for opening an existing file.
enum ExistingFile
Options for opening an existing file.
enum ExistingFile
import _NIOFileSystem
A file system library for Swift.
enum OpenOptions
Options for opening file handles.
case none
Indicates that no file exists. If a file does exist then an error is thrown when opening the file.
case open
Any existing file should be opened without modification.
case truncate
Truncate the existing file.
struct Directory
Options for opening a directory.
struct NewFile
Options for creating a new file.
struct Read
Options for opening a file for reading.
struct Write
Options for opening a file for writing (or reading and writing).
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
A thread-safe type whose values can be shared across arbitrary concurrent contexts without introducing a risk of data races. Values of the type may have no shared mutable state, or they may protect that state with a lock or by forcing it to only be accessed from a specific actor.
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.