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

Function application_watch_strategy_name

src/daemon/application.c:617–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

615}
616
617static const char *application_watch_strategy_name(cbm_watcher_strategy_t strategy) {
618 switch (strategy) {
619 case CBM_WATCHER_STRATEGY_GIT:
620 return "git";
621 case CBM_WATCHER_STRATEGY_TREE:
622 return "tree";
623 case CBM_WATCHER_STRATEGY_NONE:
624 return "none";
625 default:
626 return "pending";
627 }
628}
629
630/* index_status watch visibility (#2167). The physical watcher is the truth for
631 * "watched"; the reasons explain the documented scope: only an MCP session's

Callers 1

application_watch_statusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected