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

Function doc_line_cmp

internal/cbm/doclink.c:342–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342static int doc_line_cmp(const void *a, const void *b) {
343 uintptr_t x = (uintptr_t)((const doc_line_ent_t *)a)->doc;
344 uintptr_t y = (uintptr_t)((const doc_line_ent_t *)b)->doc;
345 return (x > y) - (x < y);
346}
347
348/* Per-file metadata for this exact immutable doc pointer, never for a line. */
349static doc_line_ent_t *doc_info_of(CBMExtractCtx *ctx, const char *doc) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected