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

Function cli_activation_action_text

src/cli/cli.c:325–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323}
324
325static const char *cli_activation_action_text(cbm_daemon_runtime_activation_action_t action) {
326 switch (action) {
327 case CBM_DAEMON_RUNTIME_ACTIVATION_INSTALL:
328 return "install";
329 case CBM_DAEMON_RUNTIME_ACTIVATION_UPDATE:
330 return "update";
331 case CBM_DAEMON_RUNTIME_ACTIVATION_UNINSTALL:
332 return "uninstall";
333 default:
334 return "activation";
335 }
336}
337
338static uint64_t cli_activation_deadline_after(uint32_t timeout_ms) {
339 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