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

Function prune_guard_probe_begin

tests/test_watcher.c:453–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451} prune_guard_probe_t;
452
453static bool prune_guard_probe_begin(void *context, const char *project) {
454 (void)project;
455 prune_guard_probe_t *probe = context;
456 probe->begins++;
457 if (probe->restore_root && probe->root_to_restore) {
458 (void)cbm_mkdir_p(probe->root_to_restore, 0755);
459 }
460 return probe->allow;
461}
462
463static void prune_guard_probe_end(void *context, const char *project) {
464 (void)project;

Callers

nothing calls this directly

Calls 1

cbm_mkdir_pFunction · 0.85

Tested by

no test coverage detected