Helia
    Preparing search index...

    Interface TouchOptions

    Options to pass to the touch command

    interface TouchOptions {
        mtime?: Mtime;
        offline?: boolean;
        onProgress?: (evt: PutBlockProgressEvents | GetEvents) => void;
        path?: string;
        recursive: boolean;
        shardSplitThresholdBytes: number;
        signal?: AbortSignal;
    }

    Hierarchy

    Index

    Properties

    mtime?: Mtime

    Optional mtime to set on the DAG root, defaults to the current time

    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
    path?: string

    Optional path to set mtime on directory contents

    recursive: boolean

    If the DAG is a directory and this is true, update the mtime on all contents

    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