1.0.1 • Published 6 years ago
hyperdrive-archiver v1.0.1
hyperdrive-archiver
The API is the same as hypercore-archiver, with support for hyperdrives.
archiver.health(archive)
Return the health of the archive. The archive
parameter should be the return value from archiver.get
function.
archiver.remove()
archiver.add()
archiver.list()
archiver.get(link, [opts], cb)
Resolve the given link and get the archive back that matches the given link.
`archiver.metadata(archive, opts, cb)
Get the metadata such as the file list and the dat.json file from the archive.
archiver.close()
Closes the archive