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

Method constructor

lib/cache/multi.ts:37–41  ·  view source on GitHub ↗
(cacheName: string, ...upstream: any[])

Source from the content-addressed store, hash-verified

35 private readonly upstream: BaseCache[];
36
37 constructor(cacheName: string, ...upstream: any[]) {
38 super(cacheName, 'Multi', 'multi');
39 this.countersEnabled = false;
40 this.upstream = upstream;
41 }
42
43 override statString(): string {
44 return `${super.statString()}. ${this.upstream.map(c => `${c.details}: ${c.statString()}`).join('. ')}`;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected