MCPcopy Create free account
hub / github.com/vercel/vercel / getCliInvocationCacheKey

Function getCliInvocationCacheKey

packages/cli-exec/src/lookup.ts:796–798  ·  view source on GitHub ↗

* Builds the cache key for a lookup rooted at `cwd` and a PATH value.

(cwd: string, pathValue: string)

Source from the content-addressed store, hash-verified

794 * Builds the cache key for a lookup rooted at `cwd` and a PATH value.
795 */
796function getCliInvocationCacheKey(cwd: string, pathValue: string): string {
797 return `${cwd}\0${pathValue}`;
798}

Callers 2

clearCachedCliInvocationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected