Struct embedded_sdmmc::DirEntry
source · pub struct DirEntry {
pub name: ShortFileName,
pub mtime: Timestamp,
pub ctime: Timestamp,
pub attributes: Attributes,
pub cluster: Cluster,
pub size: u32,
pub entry_block: BlockIdx,
pub entry_offset: u32,
}Expand description
Represents a directory entry, which tells you about other files and directories.
Fields§
§name: ShortFileNameThe name of the file
mtime: TimestampWhen the file was last modified
ctime: TimestampWhen the file was first created
attributes: AttributesThe file attributes (Read Only, Archive, etc)
cluster: ClusterThe starting cluster of the file. The FAT tells us the following Clusters.
size: u32The size of the file in bytes.
entry_block: BlockIdxThe disk block of this entry
entry_offset: u32The offset on its block (in bytes)