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

Method requestResendResult

static/panes/diff.ts:447–457  ·  view source on GitHub ↗
(id: number | string)

Source from the content-addressed store, hash-verified

445 }
446
447 requestResendResult(id: number | string) {
448 if (typeof id === 'string') {
449 const p = id.indexOf('_exec');
450 if (p !== -1) {
451 const execId = Number.parseInt(id.substr(0, p), 10);
452 this.eventHub.emit('resendExecution', execId);
453 }
454 } else {
455 this.eventHub.emit('resendCompilation', id);
456 }
457 }
458
459 refreshDiffOptions(id: number | string, compiler: CompilerInfo, result: CompilationResult) {
460 const lhsextraoptions: DiffOption[] = [];

Callers 2

constructorMethod · 0.95
onDiffSelectMethod · 0.95

Calls 1

emitMethod · 0.45

Tested by

no test coverage detected