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

Function getFnpdCacheKey

packages/vite/src/node/packages.ts:373–375  ·  view source on GitHub ↗
(basedir: string)

Source from the content-addressed store, hash-verified

371
372// package cache key for `findNearestPackageData`
373function getFnpdCacheKey(basedir: string) {
374 return `fnpd_${basedir}`
375}
376
377/**
378 * Traverse between `longerDir` (inclusive) and `shorterDir` (exclusive) and call `cb` for each dir.

Callers 2

getFnpdCacheFunction · 0.85
setFnpdCacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected