mlx-bun library API
    Preparing search index...
    interface SsdStoreOptions {
        codecs?: CacheCodecProvider;
        configFingerprint: string;
        dir: string;
        limit?: () => number;
        maxBytes: number;
        modelId: string;
        storage?: Pick<KvWriteRequest, "layout" | "blockBytes" | "segmented">;
        tokenizerHash: string;
        verify?: boolean;
    }
    Index
    configFingerprint: string

    Server identity — written into every file, enforced on scan/load.

    dir: string
    limit?: () => number

    A live byte cap that replaces maxBytes when set: a caller sharing one budget across several stores answers with what this store may hold now.

    maxBytes: number
    modelId: string
    storage?: Pick<KvWriteRequest, "layout" | "blockBytes" | "segmented">
    tokenizerHash: string
    verify?: boolean

    Verify every tensor hash on load (--ssd-cache-verify).