MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / getStoredSettings

Method getStoredSettings

static/settings.ts:244–246  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

242 }
243
244 public static getStoredSettings(): SiteSettings {
245 return JSON.parse(localStorage.get('settings', '{}'));
246 }
247
248 public static setStoredSettings(newSettings: SiteSettings) {
249 localStorage.set('settings', JSON.stringify(newSettings));

Callers 14

setupButtonsFunction · 0.80
toggleButtonFunction · 0.80
takeUsersOutOfRealDarkFunction · 0.80
toggleOverlayFunction · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
getCurrentThemeMethod · 0.80

Calls 2

getMethod · 0.65
parseMethod · 0.45

Tested by

no test coverage detected