Instance Method (Default implementation)swift-nio 2.72.0_NIOFileSystem
close
FileHandle.swift:83- iOS
- 13.0+
- macOS
- 10.15+
- tvOS
- 13.0+
- watchOS
- 6.0+
func close() async throws
Implements
func close(
) async throws Closes the file handle.
Other members in extension
Instance members
func addPermissions(FilePermissions
) async throws -> FilePermissions func attributeNames(
) async throws -> [String] 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