MCPcopy
hub / github.com/codeaashu/claude-code / checkHasGitRemote

Function checkHasGitRemote

src/utils/background/remote/preconditions.ts:67–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65 * Returns false for local-only repos (git init with no `origin`).
66 */
67export async function checkHasGitRemote(): Promise<boolean> {
68 const repository = await detectCurrentRepository()
69 return repository !== null
70}
71
72/**
73 * Checks if GitHub app is installed on a specific repository

Callers

nothing calls this directly

Calls 1

detectCurrentRepositoryFunction · 0.85

Tested by

no test coverage detected