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

Function count_expanded_lines

internal/cbm/preprocessor.cpp:322–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322static int count_expanded_lines(const std::string &text) {
323 int count = 1;
324 for (char c : text) {
325 if (c == '\n') {
326 count++;
327 }
328 }
329 return count;
330}
331
332static bool parse_line_directive(const char *line, size_t len, uint32_t *out_line,
333 std::string *out_file) {

Callers 1

cbm_preprocess_with_mapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected