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

Class stat

src/watcher/watcher.c:306–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304 return ROOT_UNCERTAIN;
305 }
306 struct stat st;
307 if (stat(root_path, &st) == 0) {
308 /* Exists but is no longer a directory → the root directory is gone. */
309 return S_ISDIR(st.st_mode) ? ROOT_PRESENT : ROOT_MISSING;

Callers 2

root_statusFunction · 0.70
init_baselineFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected