Options to pass to the chmod command

interface ChmodOptions {
    offline?: boolean;
    onProgress?: ((evt) => void);
    path?: string;
    recursive: boolean;
    shardSplitThresholdBytes: number;
    signal?: AbortSignal;
}

Hierarchy

Properties

offline?: boolean

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

onProgress?: ((evt) => void)

Type declaration

path?: string

Optional path to set the mode on directory contents

recursive: boolean

If the target of the operation is a directory and this is true, apply the new mode to all directory 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