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

Function agent_next_line

src/cli/agent_clients.c:1220–1227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1218}
1219
1220static size_t agent_next_line(const char *data, size_t length, size_t start, size_t *content_end) {
1221 size_t end = start;
1222 while (end < length && data[end] != '\n') {
1223 end++;
1224 }
1225 *content_end = end;
1226 return end < length ? end + 1U : end;
1227}
1228
1229static size_t agent_line_indent(const char *data, size_t start, size_t end) {
1230 size_t indent = 0U;

Callers 1

agent_continue_editFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected