How to use the hyperdrive/lib/stat.js function in hyperdrive

To help you get started, we’ve selected a few hyperdrive examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github arso-project / archipel / packages / app / src / lib / workspace.js View on Github external
stat: (path, cb) => api.workspace.drive.stat(this.wsk, key, path, (err, data) => {
        if (err) return cb(err)
        var stat = Stat(data)
        cb(null, stat)
      }),
      mkdir: (path, opts, cb) => api.workspace.drive.mkdir(this.wsk, key, path, opts, cb),

hyperdrive

Hyperdrive is a secure, real-time distributed file system

Apache-2.0
Latest version published 17 days ago

Package Health Score

81 / 100
Full package analysis