MCPcopy Create free account
hub / github.com/anus-dev/ANUS / fileExists

Function fileExists

scripts/telemetry_utils.js:94–96  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

92}
93
94export function fileExists(filePath) {
95 return fs.existsSync(filePath);
96}
97
98export function readJsonFile(filePath) {
99 if (!fileExists(filePath)) {

Callers 4

mainFunction · 0.90
mainFunction · 0.90
readJsonFileFunction · 0.85
ensureBinaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected