Attributes
struct Attributes
Filesystem entry attributes representation.
-
The filesystem item’s creation date.
Declaration
Swift
public var creationDate: Date? { get set }
-
This value indicates wheter the filesystem item’s extension is hidden.
Declaration
Swift
public var extensionHidden: Bool { get set }
-
The group name of the filesystem item’s owner.
Declaration
Swift
public var groupName: String { get set }
-
The filesystem item’s last modified date.
Declaration
Swift
public var modificationDate: Date { get set }
-
The user name of the filesystem item’s owner.
Declaration
Swift
public var userName: String { get set }
-
The filesystem item’s permissions.
Declaration
Swift
public var permissions: Permissions { get set }
-
The filesystem item’s size in bytes.
Declaration
Swift
public var size: Int { get }
-
Reload attribute values from underlying path.
Throws
An error if attributes cannot be resolved.Declaration
Swift
public mutating func reload() throws