UFileStatus
¶
General system-level stats about a file
data class UFileStatus(
val type: FileType?,
val icon: FileIconHint?,
val sizeInBytes: Long?,
val sizeIncludingChildrenInBytes: Long?,
val modifiedAt: Long?,
val accessedAt: Long?,
val unixMode: Int?,
val unixOwner: Int?,
val unixGroup: Int?,
val metadata: FileMetadataHistory?,
val resolvedSupport: ResolvedSupport<Product.Storage, FSSupport>?,
val resolvedProduct: Product.Storage?,
)
Properties
type
: FileType?
Which type of file this is, see `FileType` for more information.
FileType?
icon
: FileIconHint?
A hint to clients about which icon to display next to this file. See `FileIconHint` for details.
FileIconHint?
sizeInBytes
: Long?
The size of this file in bytes (Requires `includeSizes`)
Long?
sizeIncludingChildrenInBytes
: Long?
The size of this file and any child (Requires `includeSizes`)
Long?
modifiedAt
: Long?
The modified at timestamp (Requires `includeTimestamps`)
Long?
accessedAt
: Long?
The accessed at timestamp (Requires `includeTimestamps`)
Long?
unixMode
: Int?
The unix mode of a file (Requires `includeUnixInfo`
Int?
unixOwner
: Int?
The unix owner of a file as a UID (Requires `includeUnixInfo`)
Int?
unixGroup
: Int?
The unix group of a file as a GID (Requires `includeUnixInfo`)
Int?
metadata
: FileMetadataHistory?
User-defined metadata for this file. See `FileMetadataTemplate` for details.
FileMetadataHistory?
resolvedSupport
: ResolvedSupport<Product.Storage, FSSupport>?
ResolvedSupport<Product.Storage, FSSupport>?
resolvedProduct
: Product.Storage?
The resolved product referenced by `product`.
Product.Storage?
This attribute is not included by default unless includeProduct
is specified.