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

Function cli_activation_action_text

src/cli/cli.c:344–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344static const char *cli_activation_action_text(cbm_daemon_runtime_activation_action_t action) {
345 switch (action) {
346 case CBM_DAEMON_RUNTIME_ACTIVATION_INSTALL:
347 return "install";
348 case CBM_DAEMON_RUNTIME_ACTIVATION_UPDATE:
349 return "update";
350 case CBM_DAEMON_RUNTIME_ACTIVATION_UNINSTALL:
351 return "uninstall";
352 default:
353 return "activation";
354 }
355}
356
357static uint64_t cli_activation_deadline_after(uint32_t timeout_ms) {
358 uint64_t now = cbm_now_ms();

Calls

no outgoing calls

Tested by

no test coverage detected