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

Method getCurrentState

static/panes/diff.ts:602–613  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

600 }
601
602 override getCurrentState() {
603 const parent = super.getCurrentState();
604 return {
605 lhs: this.lhs.id,
606 rhs: this.rhs.id,
607 lhsdifftype: this.lhs.difftype,
608 rhsdifftype: this.rhs.difftype,
609 lhsextraoption: this.lhs.extraoption,
610 rhsextraoption: this.rhs.extraoption,
611 ...parent,
612 };
613 }
614
615 close() {
616 this.eventHub.unsubscribe();

Callers 3

updateStateFunction · 0.45
getCurrentStateFunction · 0.45
getCompilerStatesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected