MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / shouldQueueFile

Function shouldQueueFile

scan-worker.js:223–228  ·  view source on GitHub ↗
(fileName)

Source from the content-addressed store, hash-verified

221 }
222 });
223 });
224}
225
226async function scanDirectory(directoryPath, maxFileSize, enableZipArchives = false, scanExtensions = null) {
227 const files = [];
228 /** Every file-type dirent seen while walking the tree (matches legacy totalFiles meaning). */
229 let traversedFileEntries = 0;
230 const extSet = buildScanExtensionSet(scanExtensions);
231 const SCAN_FLUSH_BATCH = 400;

Callers 1

processDirectoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected