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

Function pylsp_prefix_add

tests/test_py_lsp.c:3919–3925  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3917}
3918
3919static bool pylsp_prefix_add(CBMTypeRegistry *reg, const char *qn, const char *receiver) {
3920 int before = reg->func_count;
3921 cbm_registry_add_func(
3922 reg,
3923 (CBMRegisteredFunc){.qualified_name = qn, .short_name = "call", .receiver_type = receiver});
3924 return reg->func_count == before + 1;
3925}
3926
3927static bool pylsp_prefix_oracles(const CBMTypeRegistry *reg) {
3928 const char *prefixes[] = {NULL, "", "pkg.", "pkg.sub.",

Callers 1

test_py_lsp.cFile · 0.85

Calls 1

cbm_registry_add_funcFunction · 0.85

Tested by

no test coverage detected