MCPcopy
hub / github.com/lingodotdev/lingo.dev / get

Method get

packages/new-compiler/src/translators/cache.ts:20–20  ·  view source on GitHub ↗

* Get cached translations for a locale * Returns empty object if no cache exists

(locale: LocaleCode)

Source from the content-addressed store, hash-verified

18 * Returns empty object if no cache exists
19 */
20 get(locale: LocaleCode): Promise<Record<string, string>>;
21 get(locale: LocaleCode, hashes: string[]): Promise<Record<string, string>>;
22
23 /**

Callers 15

getLocaleFromCookiesFunction · 0.65
loadLocaleFromCookiesFunction · 0.65
loadLocaleFromHeadersFunction · 0.65
loadLocaleFromCookiesFunction · 0.65
getAstByKeyFunction · 0.65
ProgramFunction · 0.65
CallExpressionFunction · 0.65
JSXExpressionContainerFunction · 0.65
getKeyFromRcFunction · 0.65
JSXElementFunction · 0.65
resetScopeMethod · 0.65

Implementers 2

LocalTranslationCachepackages/new-compiler/src/translators/
MemoryTranslationCachepackages/new-compiler/src/translators/

Calls

no outgoing calls

Tested by 1

getFileIoLimiterFunction · 0.52