Skip to main content

FileEntry

A FileEntry represents a single file inside an RDIndex.
It describes the file path, size, hash, last modification timestamp, and the list of chunks that compose the file.

Each instance is produced automatically by the SDK when scanning directories or reconstructing an index.


Structure

pub struct FileEntry {
pub path: String;
pub size: u64;
pub hash: String;
pub modified_at: u64;
pub chunks: Vec<Chunk>;
}

Properties

PropertyTypeDescription
pathStringRelative path of the file inside the indexed root
sizeu64Size of the file in bytes
hashStringThe hash of the file (blake3)
modifiedAtu64Unix timestamp (ms) when the file was last modified.
chunksVec<Chunk>List of chunks representing this file.