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

Function expect_byte

tests/test_coverage_children.c:80–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 return transfer(fd, &value, true);
79}
80static bool expect_byte(int fd, char expected) {
81 char value = 0;
82 return transfer(fd, &value, false) && value == expected;
83}
84
85static int marker_present(const Child *child) {
86 struct stat info;

Callers 4

child_bodyFunction · 0.85
held_protocolFunction · 0.85
ready_childFunction · 0.85

Calls 1

transferFunction · 0.70

Tested by

no test coverage detected