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

Class stat

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

Source from the content-addressed store, hash-verified

90static int tsc_wal_absent_or_empty(const char *db_path) {
91 char wal_path[512];
92 struct stat st = {0};
93 snprintf(wal_path, sizeof(wal_path), "%s-wal", db_path);
94 if (stat(wal_path, &st) == 0) {
95 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