Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ isDirectory
Function
isDirectory
packages/vite/src/node/plugins/resolve.ts:1185–1188 ·
view source on GitHub ↗
(path: string)
Source
from the content-addressed store, hash-verified
1183
}
1184
1185
function
isDirectory(path: string): boolean {
1186
const
stat = tryStatSync(path)
1187
return
stat?.isDirectory() ?? false
1188
}
1189
1190
function
findNearestPackagePath(
1191
file: string,
Callers
1
tryCleanFsResolve
Function · 0.85
Calls
1
tryStatSync
Function · 0.90
Tested by
no test coverage detected