MCPcopy Index your code
hub / github.com/CodeboxIDE/codebox / needFsReady

Function needFsReady

client/core/localfs.js:96–103  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

94 };
95
96 var needFsReady = function(fn) {
97 return function() {
98 var args = arguments;
99 return prepareFs().then(function() {
100 return fn.apply(fn, args);
101 });
102 };
103 }
104
105 /*
106 * Adapt path

Callers 1

localfs.jsFile · 0.85

Calls 1

prepareFsFunction · 0.85

Tested by

no test coverage detected