fast-fs-hash - v0.0.3
    Preparing search index...

    Interface FileHashCacheEntries

    Readonly snapshot of all resolved file entries from a FileHashCacheSession.

    Returned by FileHashCacheSession.resolve. Each entry contains the file's current stat metadata and content hash, decoded lazily from the native dataBuf.

    Entry objects are constructed lazily on get/find/iteration, so a snapshot the caller never fully walks costs no per-entry allocation.

    interface FileHashCacheEntries {
        length: number;
        session: FileHashCacheSession;
        "[iterator]"(): IterableIterator<FileHashCacheEntry>;
        find(path: string): FileHashCacheEntry | undefined;
        get(index: number): FileHashCacheEntry | undefined;
    }
    Index
    length: number

    Number of file entries.

    The session that produced this snapshot.