MCPcopy
hub / github.com/callstack/agent-device / buildAppResolutionCacheKey

Function buildAppResolutionCacheKey

src/platforms/app-resolution-cache.ts:72–76  ·  view source on GitHub ↗
(scope: AppResolutionCacheScope, target: string)

Source from the content-addressed store, hash-verified

70}
71
72function buildAppResolutionCacheKey(scope: AppResolutionCacheScope, target: string): string {
73 return [scope.platform, scope.deviceId, scope.variant ?? '', target.trim().toLowerCase()].join(
74 '\0',
75 );
76}
77
78function buildAppResolutionCacheScopePrefix(scope: AppResolutionCacheScope): string {
79 return [scope.platform, scope.deviceId, ''].join('\0');

Callers 2

getFunction · 0.85
setFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected