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

Class stat

src/foundation/platform.c:186–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184 }
185
186 struct stat st;
187 if (fstat(fd, &st) != 0 || st.st_size == 0) {
188 close(fd);
189 return NULL;

Callers 3

cbm_file_existsFunction · 0.70
cbm_is_dirFunction · 0.70
cbm_file_sizeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected