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

Function file_exists

tests/repro/repro_issue557.c:95–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

repro_issue557.cFile · 0.85

Calls 1

statClass · 0.70

Tested by

no test coverage detected