Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

creating empty folders on fs #5

Open
joehand opened this issue Aug 10, 2017 · 0 comments
Open

creating empty folders on fs #5

joehand opened this issue Aug 10, 2017 · 0 comments

Comments

@joehand
Copy link
Contributor

joehand commented Aug 10, 2017

Right now if you archive.mkdir('/dir') it does not make the directory on the file system (dat-ecosystem-archive/dat-node#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)
})
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant