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

Class stat

tests/test_store_checkpoint.c:90–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88static int tsc_wal_absent_or_empty(const char *db_path) {
89 char wal_path[512];
90 struct stat st = {0};
91 snprintf(wal_path, sizeof(wal_path), "%s-wal", db_path);
92 if (stat(wal_path, &st) == 0) {
93 return st.st_size == 0;

Callers 2

tsc_wal_absent_or_emptyFunction · 0.70

Calls

no outgoing calls

Tested by 1

tsc_wal_absent_or_emptyFunction · 0.56