MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / listDirSorted

Function listDirSorted

scripts/run-tests.mjs:20–24  ·  view source on GitHub ↗
(dir)

Source from the content-addressed store, hash-verified

18import { join, relative, sep } from "node:path";
19
20function listDirSorted(dir) {
21 const entries = readdirSync(dir);
22 entries.sort();
23 return entries;
24}
25
26function collectFilesRecursiveSorted(dir, predicate) {
27 const out = [];

Callers 2

walkFunction · 0.70
collectPackageTestsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected