automerge / hypermerge

Build p2p collaborative applications without any server infrastructure in Node.js
MIT License
1.28k stars 66 forks source link

Ensure hypermerge dir #35

Closed mjtognetti closed 4 years ago

mjtognetti commented 4 years ago

Ensure the directory specified by the path option passed to RepoBackend exists. random-access-file used to do this on our behalf, but we know access the filesystem through ClockStore before any other module uses raf. We also don't want to depend on raf for ensuring the hypermerge dir exists.