MCPcopy
hub / github.com/refined-github/refined-github / preloadSyncLocalStrings

Function preloadSyncLocalStrings

source/helpers/hotfix.tsx:106–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104
105// Updates the local object from the storage to enable synchronous access
106export async function preloadSyncLocalStrings(): Promise<void> {
107 if (isDevelopmentVersion() || isEnterprise()) {
108 return;
109 }
110
111 localStrings = await localStringsHotfix.get() ?? {};
112}

Callers 1

Calls 3

isDevelopmentVersionFunction · 0.85
isEnterpriseFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected