Skip to content

Minima.js API


Minima.js API / @minimajs/disk / snapshot / RestoreOptions

Interface: RestoreOptions ​

Properties ​

overwrite? ​

ts
optional overwrite?: boolean;

Overwrite existing files (default: false)


signal? ​

ts
optional signal?: AbortSignal;

AbortSignal to cancel the restore operation


targetPath? ​

ts
optional targetPath?: string;

Restore files under a different path prefix