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

Method handle

static/artifact-handler.ts:42–51  ·  view source on GitHub ↗
(result: CompilationResult)

Source from the content-addressed store, hash-verified

40 }
41
42 handle(result: CompilationResult): void {
43 if (result.artifacts) {
44 for (const artifact of result.artifacts) {
45 this.handleArtifact(artifact);
46 }
47 } else if (result.execResult) {
48 // Handle executor results recursively
49 this.handle(result.execResult);
50 }
51 }
52
53 private handleArtifact(artifact: Artifact): void {
54 switch (artifact.type) {

Callers 2

offerFilesIfPossibleMethod · 0.45
offerFilesIfPossibleMethod · 0.45

Calls 1

handleArtifactMethod · 0.95

Tested by

no test coverage detected