MCPcopy
hub / github.com/tinyplex/tinybase / forEachDeepFile

Function forEachDeepFile

gulpfile.mjs:149–155  ·  view source on GitHub ↗
(dir, callback, extension = '')

Source from the content-addressed store, hash-verified

147};
148
149const forEachDeepFile = (dir, callback, extension = '') =>
150 forEachDirAndFile(
151 dir,
152 (dir) => forEachDeepFile(dir, callback, extension),
153 (file) => callback(file),
154 extension,
155 );
156
157const forEachDirAndFile = (dir, dirCallback, fileCallback, extension = '') =>
158 readdirSync(dir, {withFileTypes: true}).forEach((entry) => {

Callers 2

lintCheckFilesFunction · 0.70
lintCheckDocsFunction · 0.70

Calls 1

forEachDirAndFileFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…