MCPcopy Index your code
hub / github.com/node-js-libs/node.io / check_complete

Function check_complete

lib/node.io/utils.js:353–357  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

351 if (err) throw err;
352 var i = dir_files.length;
353 var check_complete = function () {
354 if (i === 0) {
355 callback(files);
356 }
357 };
358 check_complete();
359 dir_files.forEach(function (path) {
360 fs.stat(root_path + '/' + path, function (err, stat) {

Callers 1

utils.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected