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

Function gf_input_length

src/mcp/test_impact_git.c:99–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99static size_t gf_input_length(const char *text) {
100 if (!text)
101 return SIZE_MAX;
102 size_t n = strnlen(text, (size_t)GF_INPUT_MAX + 1);
103 return n <= GF_INPUT_MAX ? n : SIZE_MAX;
104}
105
106static bool gf_absolute(const char *path) {
107 if (!path || !path[0])

Callers 3

gf_resolveFunction · 0.85
cbm_git_facts_openFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected