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

Function cli_activation_save_env

tests/test_cli.c:921–926  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

919}
920
921static void cli_activation_save_env(char **home_out, char **cache_out) {
922 const char *home = getenv("HOME");
923 const char *cache = getenv("CBM_CACHE_DIR");
924 *home_out = home ? strdup(home) : NULL;
925 *cache_out = cache ? strdup(cache) : NULL;
926}
927
928static void cli_activation_restore_env(char *home, char *cache) {
929 if (home) {

Callers 3

test_cli.cFile · 0.85
cli_scope_fixture_startFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected