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

Method onLoad

static/widgets/load-save.ts:93–95  ·  view source on GitHub ↗
(data: string, name?: string)

Source from the content-addressed store, hash-verified

91 }
92
93 private onLoad(data: string, name?: string) {
94 this.onLoadCallback(data, name);
95 }
96
97 private doLoad(element: SourceApiEntry) {
98 $.getJSON(

Callers 4

doLoadMethod · 0.95
populateLocalStorageMethod · 0.95
populateLocalHistoryMethod · 0.95
onLocalFileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected