Module sys/statx

sys/statx

Statx file status type.

Object wrapper around the C statx buffer, providing accessor methods for file metadata.

Types

Statx struct
Statx

Fields

NameTypeDescription
_buf_ptr*(u8)
_buf_sizeusize
impl(Statx, ...)
is_file : (Statx) fn(self : Statx) -> bool

Parameters

NameTypeNotes
selfStatx

Returns: bool

is_directory : (Statx) fn(self : Statx) -> bool

Parameters

NameTypeNotes
selfStatx

Returns: bool

size : (Statx) fn(self : Statx) -> i64

Parameters

NameTypeNotes
selfStatx

Returns: i64

mode : (Statx) fn(self : Statx) -> u32

Parameters

NameTypeNotes
selfStatx

Returns: u32

uid : (Statx) fn(self : Statx) -> u32

Parameters

NameTypeNotes
selfStatx

Returns: u32

gid : (Statx) fn(self : Statx) -> u32

Parameters

NameTypeNotes
selfStatx

Returns: u32

ino : (Statx) fn(self : Statx) -> u64

Parameters

NameTypeNotes
selfStatx

Returns: u64

mtime_sec : (Statx) fn(self : Statx) -> i64

Parameters

NameTypeNotes
selfStatx

Returns: i64

mtime_nsec : (Statx) fn(self : Statx) -> u32

Parameters

NameTypeNotes
selfStatx

Returns: u32

atime_sec : (Statx) fn(self : Statx) -> i64

Parameters

NameTypeNotes
selfStatx

Returns: i64

atime_nsec : (Statx) fn(self : Statx) -> u32

Parameters

NameTypeNotes
selfStatx

Returns: u32

ctime_sec : (Statx) fn(self : Statx) -> i64

Parameters

NameTypeNotes
selfStatx

Returns: i64

ctime_nsec : (Statx) fn(self : Statx) -> u32

Parameters

NameTypeNotes
selfStatx

Returns: u32