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

Function extract_go

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

Extract a Go file using cbm_extract_file (runs single-file LSP internally) */

Source from the content-addressed store, hash-verified

17
18/* Extract a Go file using cbm_extract_file (runs single-file LSP internally) */
19static CBMFileResult *extract_go(const char *source) {
20 return cbm_extract_file(source, (int)strlen(source), CBM_LANG_GO, "test", "main.go", 0, NULL,
21 NULL);
22}
23
24/* Search resolved_calls for a match where caller contains callerSub
25 * and callee contains calleeSub. Returns index or -1. */

Callers 1

test_go_lsp.cFile · 0.85

Calls 1

cbm_extract_fileFunction · 0.85

Tested by

no test coverage detected