MCPcopy Index your code
hub / github.com/tinyplex/tinybase / forEachDeepFile

Function forEachDeepFile

test/unit/documentation.test.ts:220–230  ·  view source on GitHub ↗
(
  dir: string,
  callback: (file: string) => void,
  extension = '',
)

Source from the content-addressed store, hash-verified

218 : undefined;
219
220const forEachDeepFile = (
221 dir: string,
222 callback: (file: string) => void,
223 extension = '',
224): void =>
225 forEachDirAndFile(
226 dir,
227 (dir) => forEachDeepFile(dir, callback, extension),
228 (file) => callback(file),
229 extension,
230 );
231
232const forEachDirAndFile = (
233 dir: string,

Callers 1

Calls 1

forEachDirAndFileFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…