stores
    Preparing search index...

    Interface FsBlockstoreInit

    interface FsBlockstoreInit {
        createIfMissing?: boolean;
        deleteManyConcurrency?: number;
        errorIfExists?: boolean;
        extension?: string;
        getManyConcurrency?: number;
        putManyConcurrency?: number;
        shardingStrategy?: ShardingStrategy;
    }
    Index

    Properties

    createIfMissing?: boolean

    If true and the passed blockstore location does not exist, create it on startup. default: true

    deleteManyConcurrency?: number

    How many blocks to delete in parallel when .deleteMany is called. default: 50

    errorIfExists?: boolean

    If true and the passed blockstore location exists on startup, throw an error. default: false

    extension?: string

    The file extension to use when storing blocks. default: '.data'

    getManyConcurrency?: number

    How many blocks to read in parallel when .getMany is called. default: 50

    putManyConcurrency?: number

    How many blocks to put in parallel when .putMany is called. default: 50

    shardingStrategy?: ShardingStrategy

    Control how CIDs map to paths and back