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

Function pkg_entries_entry_for

tests/test_pipeline.c:18131–18137  ·  view source on GitHub ↗

Helper: return the entry_rel registered for `name`, or NULL. */

Source from the content-addressed store, hash-verified

18129
18130/* Helper: return the entry_rel registered for `name`, or NULL. */
18131static const char *pkg_entries_entry_for(const cbm_pkg_entries_t *e, const char *name) {
18132 for (int i = 0; i < e->count; i++) {
18133 if (e->items[i].pkg_name && strcmp(e->items[i].pkg_name, name) == 0)
18134 return e->items[i].entry_rel;
18135 }
18136 return NULL;
18137}
18138
18139/* ── SwiftPM Package.swift manifest resolution (issue #551 item 1) ──
18140 *

Callers 1

test_pipeline.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected