hasGitEntry
hasGitEntry(
dir):Promise<boolean>
Defined in: find-upward.ts:52
true when dir has a .git entry — a directory in a normal checkout,
a file in a worktree/submodule (existence is all that matters, not the
type). A common stop boundary for findUpward: treat the
nearest .git as the project root, searched but not walked past.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<boolean>