MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / getCacheKey

Method getCacheKey

lib/base-compiler.ts:2447–2457  ·  view source on GitHub ↗
(
        source: string,
        options: string[],
        backendOptions: Record<string, any>,
        filters: ParseFiltersAndOutputOptions,
        tools: ActiveTool[],
        libraries: SelectedLibraryVersion[],
        files: FiledataPair[],
    )

Source from the content-addressed store, hash-verified

2445 }
2446
2447 getCacheKey(
2448 source: string,
2449 options: string[],
2450 backendOptions: Record<string, any>,
2451 filters: ParseFiltersAndOutputOptions,
2452 tools: ActiveTool[],
2453 libraries: SelectedLibraryVersion[],
2454 files: FiledataPair[],
2455 ): CacheKey {
2456 return {compiler: this.compiler, source, options, backendOptions, filters, tools, libraries, files};
2457 }
2458
2459 getCmakeCacheKey(key: ParsedRequest, files: FiledataPair[]): CmakeCacheKey {
2460 const cacheKey: CmakeCacheKey = {

Callers 1

compileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected