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

Function adr_head_cmp

internal/cbm/doc_adr.c:333–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331} adr_head_t;
332
333static int adr_head_cmp(const void *a, const void *b) {
334 const adr_head_t *x = (const adr_head_t *)a;
335 const adr_head_t *y = (const adr_head_t *)b;
336 return (x->line > y->line) - (x->line < y->line);
337}
338
339/* The level of the heading on line k: `#` count, or 1/2 for a setext
340 * underline of `=`/`-` on the next line; 0 when the line is no heading. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected