Skip to main content

RDIndex

A RDIndex represents a single rd-index.json file.
It describes the version of the rd-index, creation timestamp, the chunk size used to divide files, and the list of files that compose the index.

Each instance is produced automatically by the SDK when scanning directories.


Structure​

export interface RDIndex {
version: number;
createdAt: number;
chunkSize: number;
files: FileEntry[];
}

Properties​

PropertyTypeDescription
versionnumberVersion of the rac-delta protocol used (default is 1)
createdAtnumberUnix timestamp (ms) when the file was created.
chunkSizenumberSize of the chunk used to divide files.
filesFileEntry[]List of files of the rd-index and its chunks.