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

Method constructor

lib/clientstate.ts:371–373  ·  view source on GitHub ↗
(jsondata?: any)

Source from the content-addressed store, hash-verified

369 trees: ClientStateTree[] = [];
370
371 constructor(jsondata?: any) {
372 if (jsondata) this.fromJsonData(jsondata);
373 }
374
375 fromJsonData(jsondata: any) {
376 for (const sessiondata of jsondata.sessions) {

Callers

nothing calls this directly

Calls 1

fromJsonDataMethod · 0.95

Tested by

no test coverage detected