Helia
    Preparing search index...

    Interface MkdirOptions

    Options to pass to the mkdir command

    interface MkdirOptions {
        cidVersion: Version;
        force: boolean;
        mode?: number;
        mtime?: Mtime;
        offline?: boolean;
        onProgress?: (evt: PutBlockProgressEvents | GetEvents) => void;
        shardSplitThresholdBytes: number;
        signal?: AbortSignal;
    }

    Hierarchy

    Index

    Properties

    cidVersion: Version

    The CID version to create the new directory with - defaults to the same version as the containing directory

    force: boolean

    If true, allow overwriting existing directory entries (default: false)

    mode?: number

    An optional mode to set on the new directory

    mtime?: Mtime

    An optional mtime to set on the new directory

    offline?: boolean

    If true, do not perform any network operations and throw if blocks are missing from the local store. (default: false)

    onProgress?: (evt: PutBlockProgressEvents | GetEvents) => void
    shardSplitThresholdBytes: number

    DAGs with a root block larger than this value will be sharded. Blocks smaller than this value will be regular UnixFS directories.

    signal?: AbortSignal