Fields

attributes: windows.DWORD,
reparse_tag: windows.DWORD,
_size: u64,
access_time: i128,
modified_time: i128,
creation_time: i128,

Functions

fn accessed(self: Self) i128

Returns the last time the file was accessed in nanoseconds since UTC 1970-01-01

fn created(self: Self) ?i128

Returns the time the file was created in nanoseconds since UTC 1970-01-01 This …

Returns the time the file was created in nanoseconds since UTC 1970-01-01 This never returns null, only returning an optional for compatibility with other OSes

fn kind(self: Self) Kind

Returns the Kind of the file. Can only return: .file, .directory, `.sym_l…

Returns the Kind of the file. Can only return: .file, .directory, .sym_link or .unknown

fn modified(self: Self) i128

Returns the time the file was modified in nanoseconds since UTC 1970-01-01

fn permissions(self: Self) Permissions

Returns a Permissions struct, representing the permissions on the file

fn size(self: Self) u64

Returns the size of the file