MCPcopy
hub / github.com/flowjs/flow.js / fileReadSuccess

Function fileReadSuccess

src/flow.js:268–273  ·  view source on GitHub ↗
(file, fullPath)

Source from the content-addressed store, hash-verified

266 }, readError);
267 }
268 function fileReadSuccess(file, fullPath) {
269 // relative path should not start with "/"
270 file.relativePath = fullPath.substring(1);
271 files.push(file);
272 decrement();
273 }
274 function readError(fileError) {
275 decrement();
276 throw fileError;

Callers 2

flow.jsFile · 0.85
readDirectoryFunction · 0.85

Calls 1

decrementFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…