MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / files

Function files

scripts/check-ui-package.mjs:74–80  ·  view source on GitHub ↗
(dir)

Source from the content-addressed store, hash-verified

72/* ------------------------------------------------------------------ walk it */
73
74function* files(dir) {
75 for (const name of readdirSync(dir)) {
76 const path = join(dir, name);
77 if (statSync(path).isDirectory()) yield* files(path);
78 else yield path;
79 }
80}
81
82const all = [...files(DIST)];
83

Callers 1

Calls 1

joinFunction · 0.50

Tested by

no test coverage detected