AVIODirEntry
public final class AVIODirEntry
Describes single entry of the directory.
Only name and type fields are guaranteed be set. Rest of fields are protocol or/and platform dependent and might be unknown.
-
Filename.
Declaration
Swift
public let name: String
-
Type of the entry
Declaration
Swift
public let type: AVIODirEntryType
-
File size in bytes, -1 if unknown.
Declaration
Swift
public let size: Int64
-
Time of last modification in microseconds since unix epoch, -1 if unknown.
Declaration
Swift
public let modificationTimestamp: Int64
-
Time of last access in microseconds since unix epoch, -1 if unknown.
Declaration
Swift
public let accessTimestamp: Int64
-
Time of last status change in microseconds since unix epoch, -1 if unknown.
Declaration
Swift
public let statusChangeTimestamp: Int64
-
User ID of owner, -1 if unknown.
Declaration
Swift
public let userId: Int64
-
Group ID of owner, -1 if unknown.
Declaration
Swift
public let groupId: Int64
-
Unix file mode, -1 if unknown.
Declaration
Swift
public let filemode: Int64