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

Function isDirectory

src/sync/watcher.ts:146–152  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

144}
145
146function isDirectory(p: string): boolean {
147 try {
148 return fs.statSync(p).isDirectory();
149 } catch {
150 return false;
151 }
152}
153
154function realpathOrNull(p: string): string | null {
155 try {

Callers 1

armGoneCheckMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected