dat-storage
dat-storage copied to clipboard
creating empty folders on fs
Right now if you archive.mkdir('/dir') it does not make the directory on the file system (https://github.com/datproject/dat-node/issues/164):
var hyperdrive = require('hyperdrive')
var storage = require('dat-storage')
var archive = hyperdrive(storage('./test'), {latest: true})
archive.mkdir('/my-dir', function (err) {
console.log(err)
})