MCPcopy Index your code
hub / github.com/google-gemini/gemini-cli / fileExists

Function fileExists

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

Source from the content-addressed store, hash-verified

103}
104
105export function fileExists(filePath) {
106 return fs.existsSync(filePath);
107}
108
109export function readJsonFile(filePath) {
110 if (!fileExists(filePath)) {

Callers 7

resolveRipgrepPathFunction · 0.90
fileUtils.test.tsFile · 0.90
validatePlanPathFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90
readJsonFileFunction · 0.70
ensureBinaryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected