MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / recursiveFileCheck

Function recursiveFileCheck

src/lib/checkFiles.js:35–42  ·  view source on GitHub ↗

* Checks if the file has been changed * @param {EditorFile[]} files List of files to check

(files)

Source from the content-addressed store, hash-verified

33 * @param {EditorFile[]} files List of files to check
34 */
35 async function recursiveFileCheck(files) {
36 const file = files.pop();
37 await checkFile(file);
38 if (files.length) {
39 recursiveFileCheck(files);
40 }
41 return;
42 }
43
44 /**
45 * @typedef {import('./editorFile').default} EditorFile

Callers 1

checkFilesFunction · 0.85

Calls 1

checkFileFunction · 0.85

Tested by

no test coverage detected