MCPcopy
hub / github.com/vuejs/core / genCacheKey

Function genCacheKey

packages/shared/src/general.ts:212–219  ·  view source on GitHub ↗
(source: string, options: any)

Source from the content-addressed store, hash-verified

210}
211
212export function genCacheKey(source: string, options: any): string {
213 return (
214 source +
215 JSON.stringify(options, (_, val) =>
216 typeof val === 'function' ? val.toString() : val,
217 )
218 )
219}

Callers 3

compileToFunctionFunction · 0.90
parseFunction · 0.90
compileToFunctionFunction · 0.90

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected