Structureswift-nio 2.72.0_NIOFileSystem
NewFile
Options for creating a new file.
OpenOptions.swift:171struct NewFile
Other members in extension
Types
struct Directory
Options for opening a directory.
enum ExistingFile
Options for opening an existing 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 members
Instance members
var permissions: FilePermissions?
The permissions to apply to the new file.
nil
implies default permissions should be applied.var transactionalCreation: Bool
Whether the file should be created and updated as a single transaction, if applicable.
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.