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

Function kind_syntax

internal/cbm/doc_pdf.c:966–978  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

964}
965
966static int kind_syntax(mention_kind_t k) {
967 switch (k) {
968 case MK_PATH:
969 case MK_PATH1:
970 return CBM_DOCLINK_PDF_PATH;
971 case MK_FILE:
972 return CBM_DOCLINK_PDF_FILE;
973 case MK_QUAL:
974 return CBM_DOCLINK_PDF_QN;
975 default:
976 return CBM_DOCLINK_PDF_NAME;
977 }
978}
979
980static bool structural(mention_kind_t k) {
981 return k == MK_PATH || k == MK_PATH1 || k == MK_FILE || k == MK_QUAL;

Callers 1

scan_pageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected