MCPcopy 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
246export function getGitDir(cwd: string): Promise<string | null> {
247 return resolveGitDir(cwd)
248}
249
250export async function isAtGitRoot(): Promise<boolean> {
251 const cwd = getCwd()

Callers 2

isInTransientGitStateFunction · 0.85
readLastFetchTimeFunction · 0.85

Calls 1

resolveGitDirFunction · 0.85

Tested by

no test coverage detected