MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / isDirectory

Function isDirectory

src/sync/worktree.ts:172–178  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

170}
171
172function isDirectory(p: string): boolean {
173 try {
174 return fs.statSync(p).isDirectory();
175 } catch {
176 return false;
177 }
178}
179
180function nativeRealpath(p: string): string {
181 try {

Callers 1

nestedRepositoryBelowFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected