Mirrordrive
Mirrors a Hyperdrive
or a LocalDrive
into another one.
Installation
Install with npm:
Basic usage
API
const mirror = new MirrorDrive(src, dst, [options])
const mirror = new MirrorDrive(src, dst, [options])
Creates a mirror instance to move src
drive into dst
drive.
options
include:
mirror.count
mirror.count
It counts the total files processed, added, removed, and changed.
Default: { files: 0, add: 0, remove: 0, change: 0 }
await mirror.done()
await mirror.done()
It starts processing all the diffing until it is done.
Last updated