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

Function pl_edge

tests/test_doc_mentions_perl.c:139–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139static bool pl_edge(const char *db, const char *src, const char *tgt) {
140 char props[512];
141 int n = 0;
142 dm_edge(db, src, tgt, props, sizeof(props), &n);
143 if (n != 1 || !strstr(props, "\"tier\":\"exact\"")) {
144 printf(" edge %s -> %s: %d found %s\n", src, tgt, n, props);
145 return false;
146 }
147 return true;
148}
149
150static bool pl_row(const char *db, const char *rel, const char *raw, const char *reason) {
151 char got[64];

Callers 1

Calls 1

dm_edgeFunction · 0.85

Tested by

no test coverage detected