Instance Methodswift-nio 2.72.0_NIOFileSystem
addPermissions(_:)
FileHandle.swift:115- iOS
- 13.0+
- macOS
- 10.15+
- tvOS
- 13.0+
- watchOS
- 6.0+
func addPermissions(_ permissions: FilePermissions) async throws -> FilePermissions
Other members in extension
Instance members
func attributeNames(
) async throws -> [String] func close(
) async throws func detachUnsafeFileDescriptor(
) throws -> FileDescriptor func info(
) async throws -> FileInfo func removePermissions(FilePermissions
) async throws -> FilePermissions func removeValueForAttribute(String
) async throws func replacePermissions(FilePermissions
) async throws func setTimes(lastAccess: FileInfo.Timespec?, lastDataModification: FileInfo.Timespec?
) async throws func synchronize(
) async throws func updateValueForAttribute(some (Sendable & RandomAccessCollection<UInt8>), attribute: String
) async throws func valueForAttribute(String
) async throws -> [UInt8] func withUnsafeDescriptor<R>(@escaping (FileDescriptor) throws -> R
) async throws -> R