MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / isCacheKey

Method isCacheKey

lib/base-compiler.ts:1813–1815  ·  view source on GitHub ↗
(key: CacheKey | CompilationCacheKey | undefined)

Source from the content-addressed store, hash-verified

1811 }
1812
1813 isCacheKey(key: CacheKey | CompilationCacheKey | undefined): key is CacheKey {
1814 return key !== undefined && (key as CacheKey).backendOptions !== undefined;
1815 }
1816
1817 getOutputFilename(dirPath: string, outputFilebase: string, key?: CacheKey | CompilationCacheKey): string {
1818 let filename: string;

Callers 2

getOutputFilenameMethod · 0.95
getOutputFilenameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected