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

Function git_available

tests/test_pipeline.c:2741–2746  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2739}
2740
2741static bool git_available(void) {
2742 char cmd[128];
2743 snprintf(cmd, sizeof(cmd), "git --version >%s 2>&1", test_null_dev());
2744 int rc = system(cmd);
2745 return rc == 0;
2746}
2747
2748static int run_cmd(const char *cmd) {
2749 return system(cmd);

Callers 1

test_pipeline.cFile · 0.85

Calls 1

test_null_devFunction · 0.85

Tested by

no test coverage detected