Enumerationswift-nio 2.72.0_NIOFileSystem
ExistingFile
Options for opening an existing file.
OpenOptions.swift:156enum ExistingFile
Cases
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.
Other members in extension
Types
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).
Citizens in _NIOFileSystem
Conformances
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol Sendable
A type whose values can safely be passed across concurrency domains by copying.
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.