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

Method constructor

lib/compilers/hook.ts:41–44  ·  view source on GitHub ↗
(compilerInfo: PreliminaryCompilerInfo & Record<string, any>, env: CompilationEnvironment)

Source from the content-addressed store, hash-verified

39 private readonly hook_home: string;
40
41 constructor(compilerInfo: PreliminaryCompilerInfo & Record<string, any>, env: CompilationEnvironment) {
42 super(compilerInfo, env);
43 this.hook_home = path.resolve(path.join(path.dirname(this.compiler.exe), '..'));
44 }
45
46 static get key(): string {
47 return 'hook';

Callers

nothing calls this directly

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected