MCPcopy
hub / github.com/vitejs/vite / getDepsCacheDirPrefix

Function getDepsCacheDirPrefix

packages/vite/src/node/optimizer/index.ts:981–983  ·  view source on GitHub ↗
(environment: Environment)

Source from the content-addressed store, hash-verified

979}
980
981function getDepsCacheDirPrefix(environment: Environment): string {
982 return normalizePath(path.resolve(environment.config.cacheDir, 'deps'))
983}
984
985export function createIsOptimizedDepFile(
986 environment: Environment,

Callers 4

getDepsCacheDirFunction · 0.85
createIsOptimizedDepFileFunction · 0.85
createIsOptimizedDepUrlFunction · 0.85

Calls 2

normalizePathFunction · 0.90
resolveMethod · 0.65

Tested by

no test coverage detected