#[repr(C)]pub struct Filestat {
pub dev: Device,
pub ino: Inode,
pub filetype: Filetype,
pub nlink: Linkcount,
pub size: Filesize,
pub atim: Timestamp,
pub mtim: Timestamp,
pub ctim: Timestamp,
}Fields§
§dev: DeviceDevice ID of device containing the file.
ino: InodeFile serial number.
filetype: FiletypeFile type.
nlink: LinkcountNumber of hard links to the file.
size: FilesizeFor regular files, the file size in bytes. For symbolic links, the length in bytes of the pathname contained in the symbolic link.
atim: TimestampLast data access timestamp.
mtim: TimestampLast data modification timestamp.
ctim: TimestampLast file status change timestamp.