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

Function cli_activation_process_id

src/cli/cli.c:295–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293}
294
295static uint64_t cli_activation_process_id(void) {
296#ifdef _WIN32
297 return (uint64_t)GetCurrentProcessId();
298#else
299 return (uint64_t)getpid();
300#endif
301}
302
303static bool cli_activation_log_event(cli_activation_production_context_t *context,
304 const char *phase, const char *detail) {

Calls

no outgoing calls

Tested by

no test coverage detected