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,
}
Expand description
Represents a directory entry, which tells you about other files and directories.
Fields§
§name: ShortFileName
The name of the file
mtime: Timestamp
When the file was last modified
ctime: Timestamp
When the file was first created
attributes: Attributes
The file attributes (Read Only, Archive, etc)
cluster: Cluster
The starting cluster of the file. The FAT tells us the following Clusters.
size: u32
The size of the file in bytes.