Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
233
export
function
getGitDir(cwd: string): Promise<string | null> {
234
return
resolveGitDir(cwd)
235
}
236
237
export
async
function
isAtGitRoot(): Promise<boolean> {
238
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