Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/codeaashu/claude-code
/ getGitDir
Function
getGitDir
src/utils/git.ts:231–233 ·
view source on GitHub ↗
(cwd: string)
Source
from the content-addressed store, hash-verified
229
})
230
231
export
function
getGitDir(cwd: string): Promise<string | null> {
232
return
resolveGitDir(cwd)
233
}
234
235
export
async
function
isAtGitRoot(): Promise<boolean> {
236
const
cwd = getCwd()
Callers
2
isInTransientGitState
Function · 0.85
readLastFetchTime
Function · 0.85
Calls
1
resolveGitDir
Function · 0.85
Tested by
no test coverage detected