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

Function jl_has_prefix

src/cli/config_json_like.c:404–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404static bool jl_has_prefix(const jl_parser_t *parser, const char *word) {
405 size_t word_length = strlen(word);
406 return parser->length - parser->pos >= word_length &&
407 memcmp(parser->text + parser->pos, word, word_length) == 0;
408}
409
410static int jl_parse_number(jl_parser_t *parser) {
411 size_t pos = parser->pos;

Callers 1

jl_parse_valueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected