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

Function adr_document_path

internal/cbm/doc_adr.c:1332–1335  ·  view source on GitHub ↗

A Markdown or reStructuredText record (reST titles underlined with `=` or * `-` read like setext headings). */

Source from the content-addressed store, hash-verified

1330/* A Markdown or reStructuredText record (reST titles underlined with `=` or
1331 * `-` read like setext headings). */
1332static bool adr_document_path(const char *rel) {
1333 return adr_ends_ci(rel, ".md") || adr_ends_ci(rel, ".mdx") || adr_ends_ci(rel, ".markdown") ||
1334 adr_ends_ci(rel, ".rst");
1335}
1336
1337void cbm_adr_extract(CBMExtractCtx *ctx) {
1338 if (!ctx || !ctx->result || !ctx->source || ctx->source_len <= 0 || !ctx->rel_path ||

Callers 1

cbm_adr_extractFunction · 0.85

Calls 1

adr_ends_ciFunction · 0.85

Tested by

no test coverage detected