Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
146
function
isDirectory(p: string): boolean {
147
try {
148
return
fs.statSync(p).isDirectory();
149
} catch {
150
return
false;
151
}
152
}
153
154
function
realpathOrNull(p: string): string | null {
155
try {
Callers
1
armGoneCheck
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected