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

Function git_validate_repo_path

src/git/git_context.c:43–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43static bool git_validate_repo_path(const char *repo_path) {
44 return cbm_validate_shell_path_arg(repo_path);
45}
46
47/* Run `git -C repo_path git_args` and copy the first output line (newlines
48 * trimmed) into buf. Returns 0 only when git exited 0 with a non-empty line. */

Callers 1

git_capture_intoFunction · 0.85

Calls 1

Tested by

no test coverage detected