Instance Methodswift-nio 2.84.0_NIOFileSystem
_synchronize
SystemFileHandle.swift:635This declaration is gated by at least one @_spi attribute.
- iOS
- 13.0+
- macOS
- 10.15+
- tvOS
- 13.0+
- watchOS
- 6.0+
func _synchronize() throws
This declaration is gated by at least one @_spi attribute.
func _synchronize() throws
s14_NIOFileSystem0B10FileHandleC12SendableViewV12_synchronizeyyKF
What are these?3AC62
import _NIOFileSystem
A file system library for Swift.
struct SendableView
The file handle may be for a non-seekable file, so it shouldn’t be ‘Sendable’, however, most of the work performed on behalf of the handle is executed in a thread pool which means that its state must be ‘Sendable’.
final class SystemFileHandle
An implementation of FileHandleProtocol
which is backed by system calls and a file descriptor.
func _addPermissions(_ permissions: FilePermissions) throws -> FilePermissions
func _attributeNames() throws -> [String]
func _close(materialize: Bool, failRenameat2WithEINVAL: Bool = false) -> Result<Void, FileSystemError>
func _info() -> Result<FileInfo, FileSystemError>
func _removePermissions(_ permissions: FilePermissions) throws -> FilePermissions
func _removeValueForAttribute(_ name: String) throws
func _replacePermissions(_ permissions: FilePermissions) throws
func _updateValueForAttribute(_ bytes: some RandomAccessCollection<UInt8>, attribute name: String) throws
func _valueForAttribute(_ name: String) throws -> [UInt8]