Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface StatOptions

Hierarchy

Index

Properties

hash?: boolean

If true, return only the CID

signal?: AbortSignal

Can be provided to a function that starts a long running task, which will be aborted when signal is triggered.

size?: boolean

If true, return only the size

timeout?: number

Can be provided to a function that starts a long running task, which will be aborted after provided timeout (in ms).

withLocal?: boolean

If true, compute the amount of the DAG that is local and if possible the total size

Generated using TypeDoc