Enumerationswift-nio 2.84.0_NIOFileSystem
Syscall
Syscall.swift:32This declaration is gated by at least one @_spi attribute.
enum Syscall
This declaration is gated by at least one @_spi attribute.
enum Syscall
import _NIOFileSystem
A file system library for Swift.
static func futimens(fileDescriptor fd: FileDescriptor, times: UnsafePointer<timespec>?) -> Result<Void, Errno>
static func link(from source: FilePath, to destination: FilePath) -> Result<Void, Errno>
static func linkAt(from source: FilePath, relativeTo sourceFD: FileDescriptor, to destination: FilePath, relativeTo destinationFD: FileDescriptor, flags: Syscall.LinkAtFlags) -> Result<Void, Errno>
static func lstat(path: FilePath) -> Result<CInterop.Stat, Errno>
static func mkdir(at path: FilePath, permissions: FilePermissions) -> Result<Void, Errno>
static func readlink(at path: FilePath) -> Result<FilePath, Errno>
static func rename(from old: FilePath, relativeTo oldFD: FileDescriptor, to new: FilePath, relativeTo newFD: FileDescriptor, flags: Syscall.RenameAtFlags) -> Result<Void, Errno>
static func rename(from old: FilePath, to new: FilePath) -> Result<Void, Errno>
static func sendfile(to output: FileDescriptor, from input: FileDescriptor, offset: Int, size: Int) -> Result<Int, Errno>
static func stat(path: FilePath) -> Result<CInterop.Stat, Errno>
static func symlink(to destination: FilePath, from source: FilePath) -> Result<Void, Errno>
static func unlink(path: FilePath) -> Result<Void, Errno>
struct LinkAtFlags
struct RenameAtFlags