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

Function extract_py

tests/test_py_lsp.c:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17/* ── Helpers — same shape as test_go_lsp.c ──────────────────────── */
18
19static CBMFileResult *extract_py(const char *source) {
20 return cbm_extract_file(source, (int)strlen(source), CBM_LANG_PYTHON,
21 "test", "main.py", 0, NULL, NULL);
22}
23
24static int find_resolved(const CBMFileResult *r, const char *callerSub, const char *calleeSub) {
25 for (int i = 0; i < r->resolved_calls.count; i++) {

Callers 2

test_py_lsp.cFile · 0.70
pylsp_long_chain_caseFunction · 0.70

Calls 1

cbm_extract_fileFunction · 0.85

Tested by

no test coverage detected