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

Function snapshot_project

src/watcher/watcher.c:1719–1725  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1717} snapshot_ctx_t;
1718
1719static void snapshot_project(const char *key, void *val, void *ud) {
1720 (void)key;
1721 snapshot_ctx_t *sc = ud;
1722 if (val && sc->count < sc->cap) {
1723 sc->items[sc->count++] = val;
1724 }
1725}
1726
1727int cbm_watcher_poll_once(cbm_watcher_t *w) {
1728 if (!w) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected