MCPcopy
hub / github.com/vercel/next.js / get

Method get

packages/next/src/server/lib/cache-handlers/types.ts:47–47  ·  view source on GitHub ↗

* Retrieve a cache entry for the given cache key, if available. Will return * undefined if there's no valid entry, or if the given soft tags are stale.

(cacheKey: string, softTags: string[])

Source from the content-addressed store, hash-verified

45 * undefined if there's no valid entry, or if the given soft tags are stale.
46 */
47 get(cacheKey: string, softTags: string[]): Promise<undefined | CacheEntry>
48
49 /**
50 * Store a cache entry for the given cache key. When this is called, the entry

Callers 15

getCommitPullRequestFunction · 0.65
getTestTimingsFunction · 0.65
mainFunction · 0.65
runTestFunction · 0.65
buildDocTreeFunction · 0.65
groupByDirectoryFunction · 0.65
transformerFunction · 0.65
insertImportDeclarationsFunction · 0.65
transformerFunction · 0.65
updateExistingFlatConfigFunction · 0.65

Calls

no outgoing calls

Tested by 15

extractMethod · 0.52
getReasonTypeFunction · 0.52
collectFilesFunction · 0.52
runTestsFunction · 0.52
runTestsFunction · 0.52
runTestsFunction · 0.52
runTestsFunction · 0.52
extractValueFunction · 0.52
runTestsFunction · 0.52
checkResFunction · 0.52
runTestsFunction · 0.52
getCacheHeaderFunction · 0.52