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

Function stat

src/foundation/mem_override_libc.c:312–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310}
311
312int stat(const char *path, struct stat *st) {
313 int rc = RESOLVED(r_stat, "stat")(path, st);
314 if (cbm_memev_enabled()) {
315 cbm_work_note_path(CBM_WORK_STAT, SITE(), path, rc != 0);
316 }
317 return rc;
318}
319
320int lstat(const char *path, struct stat *st) {
321 int rc = RESOLVED(r_lstat, "lstat")(path, st);

Callers

nothing calls this directly

Calls 2

cbm_memev_enabledFunction · 0.85
cbm_work_note_pathFunction · 0.85

Tested by

no test coverage detected