Instance Methodswift-nio 2.84.0_NIOFileSystem
valueForAttribute(_:)
FileHandle.swift:125- iOS
- 13.0+
- macOS
- 10.15+
- tvOS
- 13.0+
- watchOS
- 6.0+
func valueForAttribute(_ name: String) async throws -> [UInt8]
func valueForAttribute(_ name: String) async throws -> [UInt8]
s14_NIOFileSystem10FileHandleV17valueForAttributeySays5UInt8VGSSYaKF
What are these?2KGW8
import _NIOFileSystem
A file system library for Swift.
struct FileHandle
Implements FileHandleProtocol
by making system calls to interact with the local file system.
@frozen struct String
A Unicode string value that is a collection of characters.
@frozen struct UInt8
An 8-bit unsigned integer value type.
func addPermissions(_ permissions: FilePermissions) async throws -> FilePermissions
func attributeNames() async throws -> [String]
func close() async throws
func detachUnsafeFileDescriptor() throws -> FileDescriptor
func info() async throws -> FileInfo
func removePermissions(_ permissions: FilePermissions) async throws -> FilePermissions
func removeValueForAttribute(_ name: String) async throws
func replacePermissions(_ permissions: FilePermissions) async throws
func setTimes(lastAccess: FileInfo.Timespec?, lastDataModification: FileInfo.Timespec?) async throws
func synchronize() async throws
func updateValueForAttribute(_ bytes: some RandomAccessCollection<UInt8> & Sendable, attribute name: String) async throws
func withUnsafeDescriptor<R>(_ execute: @escaping (FileDescriptor) throws -> R) async throws -> R where R : Sendable