Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TouchOptions

Hierarchy

Index

Properties

cidVersion?: CIDVersion

The CID version to use for any updated entries

flush?: boolean

If true the changes will be immediately flushed to disk

hashAlg?: string

The hash algorithm to use for any updated entries

mtime?: MtimeLike

A Date object, an object with { secs, nsecs } properties where secs is the number of seconds since (positive) or before (negative) the Unix Epoch began and nsecs is the number of nanoseconds since the last full second, or the output of process.hrtime()

shardSplitThreshold?: number

The threshold for splitting any modified folders into HAMT shards

signal?: AbortSignal

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

timeout?: number

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

Generated using TypeDoc