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

Function detect_os

src/cli/cli.c:7050–7058  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7048
7049#ifdef CBM_CLI_ENABLE_TEST_API
7050static const char *detect_os(void) {
7051#ifdef _WIN32
7052 return "windows";
7053#elif defined(__APPLE__)
7054 return "darwin";
7055#else
7056 return "linux";
7057#endif
7058}
7059
7060static const char *detect_arch(void) {
7061#if defined(__aarch64__) || defined(_M_ARM64)

Callers 1

cbm_cmd_updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected