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

Function cli_activation_action_text

src/cli/cli.c:274–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272}
273
274static const char *cli_activation_action_text(cbm_daemon_runtime_activation_action_t action) {
275 switch (action) {
276 case CBM_DAEMON_RUNTIME_ACTIVATION_INSTALL:
277 return "install";
278 case CBM_DAEMON_RUNTIME_ACTIVATION_UPDATE:
279 return "update";
280 case CBM_DAEMON_RUNTIME_ACTIVATION_UNINSTALL:
281 return "uninstall";
282 default:
283 return "activation";
284 }
285}
286
287static uint64_t cli_activation_deadline_after(uint32_t timeout_ms) {
288 uint64_t now = cbm_now_ms();

Callers 2

cli_activation_log_eventFunction · 0.85
cli_activation_guardFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected