Helia
    Preparing search index...

    Interface ExportCarOptions

    interface ExportCarOptions {
        blockFilter?: Filter;
        exporter?: ExportStrategy;
        offline?: boolean;
        onProgress?: (evt: GetBlockProgressEvents) => void;
        signal?: AbortSignal;
        traversal?: TraversalStrategy;
    }

    Hierarchy

    Index

    Properties

    blockFilter?: Filter

    If a filter is passed it will be used to deduplicate blocks exported in the car file

    exporter?: ExportStrategy

    Export strategy to use for the export. This should be used to change the blocks included in the exported car file. (e.g. https://specs.ipfs.tech/http-gateways/trustless-gateway/#dag-scope-request-query-parameter)

    offline?: boolean

    If true, the blockstore will not do any network requests.

    false
    
    onProgress?: (evt: GetBlockProgressEvents) => void
    signal?: AbortSignal
    traversal?: TraversalStrategy

    The traversal strategy to use for the export. This determines how the dag is traversed: either depth first, breadth first, or a custom strategy.