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

Function runtime_parent_valid

src/daemon/ipc.c:679–682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

677}
678
679static bool runtime_parent_valid(const char *path) {
680 struct stat status;
681 return path && path[0] != '\0' && lstat(path, &status) == 0 && S_ISDIR(status.st_mode);
682}
683
684static bool private_runtime_snapshot(int fd, const char *path, bool require_empty_acl,
685 struct stat *status_out) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected