MCPcopy
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
1185function isDirectory(path: string): boolean {
1186 const stat = tryStatSync(path)
1187 return stat?.isDirectory() ?? false
1188}
1189
1190function findNearestPackagePath(
1191 file: string,

Callers 1

tryCleanFsResolveFunction · 0.85

Calls 1

tryStatSyncFunction · 0.90

Tested by

no test coverage detected