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

export interface FileEntry {
path: string;
size: number;
hash: string;
modifiedAt: number;
chunks: Chunk[];
}

Properties

PropertyTypeDescription
pathstringRelative path of the file inside the indexed root
sizenumberSize of the file in bytes
hashstringThe hash of the file (blake3)
modifiedAtnumberUnix timestamp (ms) when the file was last modified.
chunksChunk[]List of chunks representing this file.