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

Function cli_activation_process_id

src/cli/cli.c:346–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344}
345
346static uint64_t cli_activation_process_id(void) {
347#ifdef _WIN32
348 return (uint64_t)GetCurrentProcessId();
349#else
350 return (uint64_t)getpid();
351#endif
352}
353
354static bool cli_activation_log_event(cli_activation_production_context_t *context,
355 const char *phase, const char *detail) {

Calls

no outgoing calls

Tested by

no test coverage detected