hyperdrive icon indicating copy to clipboard operation
hyperdrive copied to clipboard

Hyperdrive allows files to be written as subpaths of other files

Open pfrazee opened this issue 8 years ago • 1 comments

It's currently possible to do this:

var archive = hyperdrive('/tmp')
archive.writeFile('/foo', 'content', (err) => {
  archive.writeFile('/foo/bar', 'more content', (err) => {
    // done
  })
})

Is that a problem?

pfrazee avatar Apr 10 '17 16:04 pfrazee

We might wanna disallow that in the future but yea that works right now.

mafintosh avatar Apr 10 '17 17:04 mafintosh