Helia
    Preparing search index...

    Interface CpOptions

    Options to pass to the cp command

    interface CpOptions {
        force: boolean;
        offline?: boolean;
        onProgress?: (evt: PutBlockProgressEvents | GetEvents) => void;
        shardSplitThresholdBytes: number;
        signal?: AbortSignal;
    }

    Hierarchy

    Index

    Properties

    force: boolean

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

    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