MCPcopy Create free account
hub / github.com/SethGammon/Citadel / fileExists

Function fileExists

scripts/dashboard.js:55–61  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

53 ].join('\n');
54}
55
56function fileExists(filePath) {
57 try {
58 return fs.existsSync(filePath);
59 } catch {
60 return false;
61 }
62}
63
64function readText(filePath) {

Callers 1

collectDashboardFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected