chore(go): Removing unused function

This commit is contained in:
Micheal Wilkinson
2026-03-20 09:57:40 +00:00
parent 96ce572792
commit ea16ba8430

View File

@@ -510,10 +510,6 @@ func matchesIgnoredDir(castleHome string, candidate string, subdirs []string) (b
return ok, nil
}
func runGit(dir string, args ...string) error {
return runGitWithIO(dir, os.Stdout, os.Stderr, args...)
}
func runGitWithIO(dir string, stdout io.Writer, stderr io.Writer, args ...string) error {
cmd := exec.Command("git", args...)
cmd.Dir = dir