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

Function is_parse_unusable

src/mcp/mcp.c:10857–10859  ·  view source on GitHub ↗

The same, for the whole-file variant: one range covers 80% or more of the * file, so listing the lines is useless advice. Also indexed, also not a skip. */

Source from the content-addressed store, hash-verified

10855/* The same, for the whole-file variant: one range covers 80% or more of the
10856 * file, so listing the lines is useless advice. Also indexed, also not a skip. */
10857static bool is_parse_unusable(const cbm_file_error_t *e) {
10858 return e->phase && strcmp(e->phase, "parse_unusable") == 0;
10859}
10860
10861/* Either coverage phase. Both mean the file WAS indexed, so both must stay out
10862 * of skipped[] — a reader who sees a file there believes it is absent from the

Callers 2

is_parse_coverageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected