#[repr(C)]pub struct FileInfo {
pub size: u64,
pub file_size: u64,
pub physical_size: u64,
pub create_time: Time,
pub last_access_time: Time,
pub modification_time: Time,
pub attribute: FileAttribute,
pub file_name: [Char16; 0],
}Fields§
§size: u64§file_size: u64§physical_size: u64§create_time: Time§last_access_time: Time§modification_time: Time§attribute: FileAttribute§file_name: [Char16; 0]The null-terminated name of the file. For a root directory, this is an empty string.
Note that this field is actually a variable-length array. In order to avoid making this struct a DST, the field is represented as a zero-length array here.