PATH:
opt
/
bitninja-node-dojo
/
lib
/
node_modules
/
npm
/
lib
/
install
'use strict' var fs = require('fs') var inflight = require('inflight') var accessError = require('./access-error.js') var isFsAccessAvailable = require('./is-fs-access-available.js') if (isFsAccessAvailable) { module.exports = fsAccessImplementation } else { module.exports = fsStatImplementation } // exposed only for testing purposes module.exports.fsAccessImplementation = fsAccessImplementation module.exports.fsStatImplementation = fsStatImplementation function fsAccessImplementation (dir, done) { done = inflight('exists:' + dir, done) if (!done) return fs.access(dir, fs.F_OK, done) } function fsStatImplementation (dir, done) { done = inflight('exists:' + dir, done) if (!done) return fs.stat(dir, function (er) { done(accessError(dir, er)) }) }
[+]
action
[-] validate-args.js
[edit]
[-] save.js
[edit]
[-] is-prod-dep.js
[edit]
[-] get-requested.js
[edit]
[-] actions.js
[edit]
[-] is-fs-access-available.js
[edit]
[-] copy-tree.js
[edit]
[-] writable.js
[edit]
[+]
..
[-] update-package-json.js
[edit]
[-] is-only-dev.js
[edit]
[-] is-only-optional.js
[edit]
[-] check-permissions.js
[edit]
[-] inflate-shrinkwrap.js
[edit]
[-] flatten-tree.js
[edit]
[-] is-extraneous.js
[edit]
[-] access-error.js
[edit]
[-] audit.js
[edit]
[-] exists.js
[edit]
[-] mutate-into-logical-tree.js
[edit]
[-] fund.js
[edit]
[-] module-staging-path.js
[edit]
[-] deps.js
[edit]
[-] validate-tree.js
[edit]
[-] and-finish-tracker.js
[edit]
[-] is-dev-dep.js
[edit]
[-] diff-trees.js
[edit]
[-] decompose-actions.js
[edit]
[-] node.js
[edit]
[-] realize-shrinkwrap-specifier.js
[edit]
[-] and-ignore-errors.js
[edit]
[-] inflate-bundled.js
[edit]
[-] read-shrinkwrap.js
[edit]
[-] and-add-parent-to-errors.js
[edit]
[-] has-modern-meta.js
[edit]
[-] report-optional-failure.js
[edit]
[-] is-opt-dep.js
[edit]