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

Class stat

tests/if_native_git_path.c:206–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204 candidate[used++] = '/';
205 memcpy(candidate + used, "git", sizeof("git"));
206 struct stat st;
207 if (stat(candidate, &st) != 0) {
208 return errno == ENOENT || errno == ENOTDIR || errno == EACCES ? IF_GIT_MISS : IF_GIT_ERROR;
209 }

Callers 1

if_git_posix_candidateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected