Options to pass to the stat command

interface StatOptions {
    offline?: boolean;
    onProgress?: ((evt) => void);
    path?: string;
    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

    • (evt): void
    • Parameters

      Returns void

path?: string

An optional path to allow statting paths inside directories

signal?: AbortSignal