MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getGitDir

Function getGitDir

source code/utils/git.ts:233–235  ·  view source on GitHub ↗
(cwd: string)

Source from the content-addressed store, hash-verified

231})
232
233export function getGitDir(cwd: string): Promise<string | null> {
234 return resolveGitDir(cwd)
235}
236
237export async function isAtGitRoot(): Promise<boolean> {
238 const cwd = getCwd()

Callers 2

isInTransientGitStateFunction · 0.85
readLastFetchTimeFunction · 0.85

Calls 1

resolveGitDirFunction · 0.85

Tested by

no test coverage detected