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

Function detect_os

src/cli/cli.c:7000–7008  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6998
6999#ifdef CBM_CLI_ENABLE_TEST_API
7000static const char *detect_os(void) {
7001#ifdef _WIN32
7002 return "windows";
7003#elif defined(__APPLE__)
7004 return "darwin";
7005#else
7006 return "linux";
7007#endif
7008}
7009
7010static const char *detect_arch(void) {
7011#if defined(__aarch64__) || defined(_M_ARM64)

Callers 1

cbm_cmd_updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected