Static Methodswift-nio 2.72.0_NIOFileSystem
stat(path:)
Syscall.swift:35This declaration is gated by at least one @_spi attribute.
static func stat(path: FilePath) -> Result<CInterop.Stat, Errno>
Other members in extension
Types
Show system interfaces (2)
Hide system interfaces
Type members
Show system interfaces (11)
Hide system interfaces
static func futimens(fileDescriptor: FileDescriptor, times: UnsafePointer<timespec>?
) -> Result<Void, Errno> static func link(from: FilePath, to: FilePath
) -> Result<Void, Errno> static func linkAt(from: FilePath, relativeTo: FileDescriptor, to: FilePath, relativeTo: FileDescriptor, flags: LinkAtFlags
) -> Result<Void, Errno> static func lstat(path: FilePath
) -> Result<CInterop.Stat, Errno> static func mkdir(at: FilePath, permissions: FilePermissions
) -> Result<Void, Errno> static func readlink(at: FilePath
) -> Result<FilePath, Errno> static func rename(from: FilePath, relativeTo: FileDescriptor, to: FilePath, relativeTo: FileDescriptor, flags: RenameAtFlags
) -> Result<Void, Errno> static func rename(from: FilePath, to: FilePath
) -> Result<Void, Errno> static func sendfile(to: FileDescriptor, from: FileDescriptor, offset: Int, size: Int
) -> Result<Int, Errno> static func symlink(to: FilePath, from: FilePath
) -> Result<Void, Errno> static func unlink(path: FilePath
) -> Result<Void, Errno>