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

Function profile_paths

tests/test_coverage_children.c:201–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201static bool profile_paths(Child *child, const char *root, const char *stem) {
202 return path_fits(snprintf(child->profile, sizeof(child->profile), "%s/%s/%s.%ld.profraw", root,
203 tf_current_suite, stem, (long)child->pid),
204 sizeof(child->profile)) &&
205 path_fits(snprintf(child->marker, sizeof(child->marker), "%s/%s/%s.%ld.forked", root,
206 tf_current_suite, stem, (long)child->pid),
207 sizeof(child->marker));
208}
209
210static bool hold_obstruction(Child *child) {
211 if (mkdir(child->profile, 0700) != 0)

Callers 1

ready_childFunction · 0.85

Calls 1

path_fitsFunction · 0.85

Tested by

no test coverage detected