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

Function detect_os

src/cli/cli.c:7106–7114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7104
7105#ifdef CBM_CLI_ENABLE_TEST_API
7106static const char *detect_os(void) {
7107#ifdef _WIN32
7108 return "windows";
7109#elif defined(__APPLE__)
7110 return "darwin";
7111#else
7112 return "linux";
7113#endif
7114}
7115
7116static const char *detect_arch(void) {
7117#if defined(__aarch64__) || defined(_M_ARM64)

Callers 1

cbm_cmd_updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected