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

Function cli_activation_process_id

src/cli/cli.c:365–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363}
364
365static uint64_t cli_activation_process_id(void) {
366#ifdef _WIN32
367 return (uint64_t)GetCurrentProcessId();
368#else
369 return (uint64_t)getpid();
370#endif
371}
372
373static bool cli_activation_log_event(cli_activation_production_context_t *context,
374 const char *phase, const char *detail) {

Calls

no outgoing calls

Tested by

no test coverage detected