Struct easy_fs::vfs::FileContent
source · [−]pub struct FileContent<T: CacheManager> {
pub size: u32,
pub clus_list: Vec<u32>,
pub file_cache_mgr: T,
pub hint: u32,
}
Fields
size: u32
For FAT32, size is a value computed from FAT. You should iterate around the FAT32 to get the size.
clus_list: Vec<u32>
The cluster list.
file_cache_mgr: T
File cache manager corresponding to this inode.
hint: u32
If this file is a directory, hint will record the position of last directory entry(the first byte is 0x00).