MCPcopy Index your code
hub / github.com/NativeScript/SimDeck / printStatus

Function printStatus

scripts/codex-worktree-cache.mjs:89–99  ·  view source on GitHub ↗
(entries)

Source from the content-addressed store, hash-verified

87}
88
89function printStatus(entries) {
90 console.log(`Cache root: ${CACHE_ROOT}`);
91 for (const entry of entries) {
92 const destination = join(ROOT, entry.destination);
93 console.log(
94 `${entry.label}: destination=${existsAndHasContent(destination) ? "present" : "missing"} cache=${
95 existsAndHasContent(entry.cachePath) ? "present" : "missing"
96 }`,
97 );
98 }
99}
100
101function buildEntries() {
102 const rootLockHash = hashFiles(["package-lock.json"]);

Callers 1

Calls 2

logMethod · 0.80
existsAndHasContentFunction · 0.70

Tested by

no test coverage detected