You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.
I've been playing around and tested it both your way and the one below. It doesn't work even when dat-storage is eliminated, so it seems to originate from hyperdrive and not dat-storage.
var hyperdrive = require('hyperdrive')
var storage = require('dat-storage')
var archive = hyperdrive('123', {latest: true})
archive.mkdir('/my-dir', function (err) {
console.log(err)
})
Funny thing is that if I check out version 1 of the archive and readdir it does appear?
var hyperdrive = require('hyperdrive')
var storage = require('dat-storage')
var archive = hyperdrive('123', {latest: true})
archive.checkout(1).readdir('/', (err, res) => {
if (err) throw err
console.log(res)
})
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Doesn't create a folder, doesn't return an error (err)
The text was updated successfully, but these errors were encountered: