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

Method storeCurrentConfig

static/sharing.ts:492–494  ·  view source on GitHub ↗
(config: any, extra: string)

Source from the content-addressed store, hash-verified

490 }
491
492 private static storeCurrentConfig(config: any, extra: string): void {
493 window.history.pushState(null, '', extra);
494 }
495
496 private static isNavigatorClipboardAvailable(): boolean {
497 return (navigator.clipboard as Clipboard | undefined) !== undefined;

Callers 3

updatePermaLinkMethod · 0.80
getLinkOfTypeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected