fast-fs-hash - v0.0.0-rc4
    Preparing search index...

    Interface FileHashCacheOptions

    Options for the FileHashCache constructor.

    interface FileHashCacheOptions {
        cachePath: string;
        files?: Iterable<string, any, any> | null;
        fingerprint?: Uint8Array<ArrayBufferLike> | null;
        lockTimeoutMs?: number;
        rootPath?: string | null;
        version?: number;
    }
    Index

    Properties

    cachePath: string

    Path to the cache file.

    files?: Iterable<string, any, any> | null

    File paths to track. Pass null/undefined to reuse the file list from the existing cache on disk (requires rootPath).

    fingerprint?: Uint8Array<ArrayBufferLike> | null

    16-byte fingerprint for fast cache rejection. null or omit for none.

    lockTimeoutMs?: number

    Lock acquisition timeout in ms. -1 (default) = block forever, 0 = non-blocking try, >0 = timeout.

    rootPath?: string | null

    Root directory for file path resolution. When provided, file paths are stored relative to this directory. When null/undefined, auto-detected as the common parent of all files. Required when files is null (reuse mode).

    version?: number

    User-defined cache version (u32, 0-4294967295). Default: 0.