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

Function cbm_doclink_syntax_via

internal/cbm/doclink.h:190–195  ·  view source on GitHub ↗

What an edge of these families says it came through: the kind of source, * whichever document holds it (NULL: the resolver's own name). */

Source from the content-addressed store, hash-verified

188/* What an edge of these families says it came through: the kind of source,
189 * whichever document holds it (NULL: the resolver's own name). */
190static inline const char *cbm_doclink_syntax_via(int syntax) {
191 if (syntax >= CBM_DOCLINK_DG_MERMAID_CLICK && syntax <= CBM_DOCLINK_DG_D2_LINK) {
192 return "diagram";
193 }
194 return syntax == CBM_DOCLINK_OPENAPI_OPERATION_ID ? "openapi" : NULL;
195}
196
197/* CBMDocLink.flags. */
198enum {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected