MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / file_exists

Function file_exists

tests/repro/repro_issue557.c:94–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92/* ── Helper: check whether a file exists ────────────────────────────── */
93
94static int file_exists(const char *path) {
95 struct stat st;
96 return (stat(path, &st) == 0) ? 1 : 0;
97}
98
99/* ── Test ─────────────────────────────────────────────────────────────
100 *

Callers 1

repro_issue557.cFile · 0.85

Calls 1

statClass · 0.70

Tested by

no test coverage detected