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

Function projection_node

tests/test_architecture_projection.c:11–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9#include <sqlite3.h>
10
11static int64_t projection_node(cbm_store_t *store, const char *label, const char *qn,
12 const char *file, bool entry) {
13 cbm_node_t n = {.project = "projection",
14 .label = label,
15 .name = qn,
16 .qualified_name = qn,
17 .file_path = file,
18 .start_line = 10,
19 .end_line = 20,
20 .properties_json = entry ? "{\"is_entry_point\":true}" : "{}"};
21 return cbm_store_upsert_node(store, &n);
22}
23
24static int64_t projection_edge(cbm_store_t *store, int64_t source, int64_t target,
25 const char *type) {

Callers 1

Calls 1

cbm_store_upsert_nodeFunction · 0.85

Tested by

no test coverage detected