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

Function detect_os

src/cli/cli.c:7044–7052  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7042
7043#ifdef CBM_CLI_ENABLE_TEST_API
7044static const char *detect_os(void) {
7045#ifdef _WIN32
7046 return "windows";
7047#elif defined(__APPLE__)
7048 return "darwin";
7049#else
7050 return "linux";
7051#endif
7052}
7053
7054static const char *detect_arch(void) {
7055#if defined(__aarch64__) || defined(_M_ARM64)

Callers 1

cbm_cmd_updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected