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

Function md_shape

internal/cbm/doclink_md.c:454–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454static void md_shape(CBMDocLinkMdPath *out, CBMDocLinkMdShape shape, const char *path,
455 const char *member, uint32_t first, uint32_t last) {
456 out->shape = shape;
457 out->path = path;
458 out->member = member;
459 out->first_line = first;
460 out->last_line = last;
461 out->instance = false;
462 out->colon = false;
463}
464
465/* The path branch: `s` has a slash (or a Windows path with an extension). */
466static bool md_classify_path(char *s, size_t n, CBMDocLinkMdPath *out) {

Callers 5

md_classify_pathFunction · 0.85
md_joinFunction · 0.85
md_filename_memberFunction · 0.85
md_classify_nameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected