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

Function detect_os

src/cli/cli.c:7193–7201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7191
7192#ifdef CBM_CLI_ENABLE_TEST_API
7193static const char *detect_os(void) {
7194#ifdef _WIN32
7195 return "windows";
7196#elif defined(__APPLE__)
7197 return "darwin";
7198#else
7199 return "linux";
7200#endif
7201}
7202
7203static const char *detect_arch(void) {
7204#if defined(__aarch64__) || defined(_M_ARM64)

Callers 1

cbm_cmd_updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected