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

Function tree_entry_cmp

src/watcher/watcher.c:877–881  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

875/* ── Non-git tree signature (#1948) ─────────────────────────────── */
876
877static int tree_entry_cmp(const void *a, const void *b) {
878 const cbm_file_info_t *fa = a;
879 const cbm_file_info_t *fb = b;
880 return strcmp(fa->rel_path, fb->rel_path);
881}
882
883/* Signature of a non-git tree: FNV-1a over every file the INDEXER would
884 * discover (cbm_discover, full mode — the same skip lists, .gitignore stack

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected