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

Function jl_match_output

src/cli/config_json_like.c:690–698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

688}
689
690static bool jl_match_output(const unsigned char *bytes, size_t byte_count, const char *target,
691 size_t target_length, size_t *target_pos) {
692 if (target_length - *target_pos < byte_count ||
693 memcmp(target + *target_pos, bytes, byte_count) != 0) {
694 return false;
695 }
696 *target_pos += byte_count;
697 return true;
698}
699
700static bool jl_key_equals(const char *text, size_t start, size_t end, const char *target) {
701 size_t target_length = strlen(target);

Callers 1

jl_key_equalsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected