MCPcopy Index your code
hub / github.com/callstack/agent-device / buildProxyDeviceKey

Function buildProxyDeviceKey

src/cli/commands/connection-runtime.ts:779–781  ·  view source on GitHub ↗
(device: DeviceInfo)

Source from the content-addressed store, hash-verified

777}
778
779function buildProxyDeviceKey(device: DeviceInfo): string {
780 return `${publicPlatformString(device)}:${device.target ?? 'mobile'}:${device.id}`;
781}
782
783function leaseBackendForDevice(device: DeviceInfo): LeaseBackend | undefined {
784 if (isIosFamily(device)) return 'ios-instance';

Callers 1

resolveProxyLeaseStateFunction · 0.85

Calls 1

publicPlatformStringFunction · 0.90

Tested by

no test coverage detected