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

Function disc_git

tests/test_discover.c:894–900  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

892}
893
894static int disc_git(const char *dir, const char *args) {
895 char cmd[1024];
896 snprintf(cmd, sizeof(cmd),
897 "git -C \"%s\" -c user.name=t -c user.email=t@t.io -c init.defaultBranch=master %s",
898 dir, args);
899 return system(cmd);
900}
901
902static bool disc_has(const cbm_file_info_t *files, int count, const char *rel_path) {
903 for (int i = 0; i < count; i++) {

Callers 1

test_discover.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected