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

Function runtime_parent_valid

src/daemon/ipc.c:851–854  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

849}
850
851static bool runtime_parent_valid(const char *path) {
852 struct stat status;
853 return path && path[0] != '\0' && lstat(path, &status) == 0 && S_ISDIR(status.st_mode);
854}
855
856static bool private_runtime_snapshot(int fd, const char *path, bool require_empty_acl,
857 struct stat *status_out) {

Callers 1

Calls 1

lstatFunction · 0.85

Tested by

no test coverage detected