GroupID
The numeric ID of a group.
struct GroupID
The numeric ID of a group.
struct GroupID
import _NIOFileSystem
A file system library for Swift.
struct FileInfo
Information about a file system object.
init(platformSpecificStatus: CInterop.Stat)
Creates a FileInfo
by deriving values from a platform-specific value.
init(type: FileType, permissions: FilePermissions, size: Int64, userID: UserID, groupID: GroupID, lastAccessTime: Timespec, lastDataModificationTime: Timespec, lastStatusChangeTime: Timespec)
Creates a FileInfo
from the provided values.
var groupID: GroupID
Group ID of the file.
var lastAccessTime: Timespec
The last time the file was accessed.
var lastDataModificationTime: Timespec
The last time the files data was last changed.
var lastStatusChangeTime: Timespec
The last time the status of the file was changed.
var permissions: FilePermissions
Permissions currently set on the file.
var platformSpecificStatus: CInterop.Stat? { get set }
The information about the file returned from the filesystem, if available.
var size: Int64
The size of the file in bytes.
var type: FileType
The type of the file.
var userID: UserID
User ID of the file.
struct Timespec
A time interval consisting of whole seconds and nanoseconds.
struct UserID
The numeric ID of a user.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
init(rawValue: UInt32)
var description: String { get }
var rawValue: UInt32
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.