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

Function go_doc

tests/test_doc_mentions_go.c:21–25  ·  view source on GitHub ↗

The tokens of one doc comment put above `type T struct{}` in package p. */

Source from the content-addressed store, hash-verified

19
20/* The tokens of one doc comment put above `type T struct{}` in package p. */
21static CBMFileResult *go_doc(const char *comment) {
22 char src[8192];
23 snprintf(src, sizeof(src), "package p\n\n%stype T struct{}\n", comment);
24 return go_extract(src, "pkg/t.go");
25}
26
27/* True when the scope blob holds exactly this record line. */
28static bool go_has_rec(const char *scope, const char *rec) {

Callers 1

Calls 1

go_extractFunction · 0.85

Tested by

no test coverage detected