Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Noumena-Network/code
/ getGitDir
Function
getGitDir
src/utils/git.ts:246–248 ·
view source on GitHub ↗
(cwd: string)
Source
from the content-addressed store, hash-verified
244
})
245
246
export
function
getGitDir(cwd: string): Promise<string | null> {
247
return
resolveGitDir(cwd)
248
}
249
250
export
async
function
isAtGitRoot(): Promise<boolean> {
251
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