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

Function doclink_lang

internal/cbm/doclink.c:258–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256};
257
258static const doclink_lang_t *doclink_lang(CBMLanguage lang) {
259 for (size_t i = 0; i < sizeof(DOCLINK_LANGS) / sizeof(DOCLINK_LANGS[0]); i++) {
260 if (DOCLINK_LANGS[i].lang == lang) {
261 return &DOCLINK_LANGS[i];
262 }
263 }
264 return NULL;
265}
266
267bool cbm_doclink_lang_supported(CBMLanguage lang) {
268 const doclink_lang_t *L = doclink_lang(lang);

Callers 2

cbm_doclinks_extractFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected