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

Function pylsp_range_member

tests/test_py_lsp.c:4309–4314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4307}
4308
4309static bool pylsp_range_member(const char *qn, const char *prefix, bool direct) {
4310 if (!qn || !prefix)
4311 return false;
4312 size_t n = strlen(prefix);
4313 return strncmp(qn, prefix, n) == 0 && (!direct || !strchr(qn + n, '.'));
4314}
4315
4316/* No fixed result buffer and no call to the implementation's member predicate. */
4317static bool pylsp_range_oracle(const CBMTypeRegistry *reg, bool types, const char *prefix,

Callers 1

pylsp_range_oracleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected