node-dat-archive icon indicating copy to clipboard operation
node-dat-archive copied to clipboard

DatArchive.fork is not a function

Open ar-naseef opened this issue 7 years ago • 4 comments

DatArchive.fork throws an error.

This seems not implemented.

ar-naseef avatar May 26 '18 20:05 ar-naseef

You should be able to work off of what I did for dat-archive-web to do a fork.

The main piece here is to use pda.exportArchiveToArchive after creating a new archive to populate it with data from the original.

RangerMauve avatar May 28 '18 14:05 RangerMauve

Yeah, not yet implemented. PRs accepted.

pfrazee avatar May 28 '18 16:05 pfrazee

Yeah, I'll make a PR.

ar-naseef avatar May 28 '18 21:05 ar-naseef

https://github.com/beakerbrowser/node-dat-archive/pull/8

ar-naseef avatar Jun 08 '18 13:06 ar-naseef