Minima.js API / @minimajs/disk / snapshot / SnapshotOptions
Interface: SnapshotOptions
Properties
path?
ts
optional path?: string;Source path/prefix to snapshot — omit to snapshot all files
prefix?
ts
optional prefix?: string;Prefix for the snapshot file on the destination disk (default: 'snapshots/')
signal?
ts
optional signal?: AbortSignal;AbortSignal to cancel the snapshot operation