1
0
Fork 0
forked from AbleOS/ableos
ableos/sysdata/programs/filesystem_fat32/src/file.hb
2024-10-25 16:37:38 +01:00

21 lines
601 B
Plaintext

attributes := @use("attributes.hb")
datetime := @use("datetime.hb")
FileName := [u8; 11]
// This is the File Allocation Table entry that tells us where on disk the File is.
FileEntry := struct {
file_name: FileName,
attributes: u8,
// We could use this byte for something but we likely will not
nt_reserved: u8,
hundredths_seconds_creation: u8,
creation_time: datetime.time,
creation_date: datetime.date,
last_accessed_date: datetime.date,
high_cluster_number: u16,
last_modification_time: datetime.time,
last_modification_date: datetime.date,
low_cluster_number: u16,
file_size: u32,
}