ableos/sysdata/programs/filesystem_fat32/src/file.hb

21 lines
602 B
Plaintext
Raw Normal View History

2024-09-18 03:38:49 -05:00
attributes := @use("attributes.hb")
datetime := @use("datetime.hb")
2024-09-17 08:01:16 -05:00
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,
}