MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / checkGitInstalled

Function checkGitInstalled

src/utils/git.ts:212–219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

210 * }
211 */
212export async function checkGitInstalled(): Promise<boolean> {
213 try {
214 await execAsync("git --version")
215 return true
216 } catch (error) {
217 return false
218 }
219}
220
221export async function searchCommits(query: string, cwd: string): Promise<GitCommit[]> {
222 try {

Callers 6

git.spec.tsFile · 0.90
checkGitInstallationFunction · 0.90
searchCommitsFunction · 0.85
getCommitInfoFunction · 0.85
getWorkingStateFunction · 0.85
getGitStatusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected