Open chrisekelley opened 6 years ago
@chrisekelley From what I understand, DatArchive.fork
creates a new Dat Archive and then copies the contents from the source Archive into the destination Archive. It's like git pull
, a command that is a shortcut to a handful of other commands. When dat-archive-web is implemented in dat-gateway, DatArchive.fork
could be an abstraction over DatArchive.create
, DatArchive.readFile
, and DatArchive.writeFile
.
Re: our discussion on what stuff should happen in the gateway, vs what should happen in the client - want to note https://dat-multiwriter-web.glitch.me - amazing all the stuff that is happening in this client!
hey @rjsteinert , since dat-archive-web now supports fork can we now use it to fork dats in bunsen browser?
I've noticed in node-dat-archive that fork is not yet implemented? What are the issues in making this work? Some background:
Following the code:
more on pda.readManifest(srcArchive). from https://github.com/beakerbrowser/pauls-dat-api