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

Function ready_child

tests/test_coverage_children.c:265–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265static bool ready_child(Child *child, const char *root, const char *stem) {
266 if (!profile_paths(child, root, stem) || !expect_byte(child->ack[0], 'R'))
267 return false;
268 int initial = marker_present(child);
269 if (!note(child, "ready", initial, 0) || initial != 1)
270 return false;
271 return !child->obstruct || hold_obstruction(child);
272}
273
274static bool finish_child(Child *child, int *status, bool *reaped) {
275 if (child->operation == SETUP_KILL) {

Callers 1

run_childFunction · 0.85

Calls 5

profile_pathsFunction · 0.85
expect_byteFunction · 0.85
hold_obstructionFunction · 0.85
marker_presentFunction · 0.70
noteFunction · 0.70

Tested by

no test coverage detected