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

Function debugLog

main.js:405–409  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

403// UNC Path Validation Functions
404function isUncPath(path) {
405 if (!path || typeof path !== 'string') {
406 return false;
407 }
408 // UNC paths on Windows start with \\
409 // They cannot be local drive paths (C:\, D:\, etc.)
410 return path.startsWith('\\\\') && !/^[A-Za-z]:/.test(path);
411}
412

Callers 6

calculateFileHashFunction · 0.70
removeNonExistentFilesFunction · 0.70
main.jsFile · 0.70
shouldSkipDirectoryFunction · 0.70
processBatchFunction · 0.70
getDatabasePathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected