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

Function aa_collect_keys

src/ui/atlas_api.c:125–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125static void aa_collect_keys(const char *key, void *value, void *userdata) {
126 (void)value;
127 /* Keys were heap copies owned by us; collect for freeing. */
128 struct {
129 char **keys;
130 int count;
131 int cap;
132 } *box = userdata;
133 if (box->count >= box->cap)
134 return;
135 box->keys[box->count++] = (char *)key;
136}
137
138static void aa_children_free(aa_children_t *set) {
139 struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected