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

Function extract_module_doc

internal/cbm/extract_defs.c:2908–2913  ·  view source on GitHub ↗

A file's own doc, for its File node: the Go package comment or the Rust * inner docs. */

Source from the content-addressed store, hash-verified

2906/* A file's own doc, for its File node: the Go package comment or the Rust
2907 * inner docs. */
2908static const char *extract_module_doc(CBMExtractCtx *ctx) {
2909 if (ctx->language == CBM_LANG_GO) {
2910 return doc_go_package(ctx);
2911 }
2912 return ctx->language == CBM_LANG_RUST ? doc_rust_inner(ctx) : NULL;
2913}
2914
2915static int find_jvm_modifiers(TSNode node, CBMLanguage lang, TSNode *out, int max);
2916

Callers 1

cbm_extract_definitionsFunction · 0.85

Calls 2

doc_go_packageFunction · 0.85
doc_rust_innerFunction · 0.85

Tested by

no test coverage detected