(selector: {
platform?: PlatformSelector;
target?: DeviceTarget;
})
| 111 | // Exported so the Apple platform-plugin's `discoverDevices` reuses the SAME |
| 112 | // host-mac fast-path predicate instead of carrying a divergent copy. |
| 113 | export function shouldUseHostMacFastPath(selector: { |
| 114 | platform?: PlatformSelector; |
| 115 | target?: DeviceTarget; |
| 116 | }): boolean { |
| 117 | return ( |
| 118 | selector.platform === 'macos' || |
| 119 | (selector.platform === 'apple' && selector.target === 'desktop') |
| 120 | ); |
| 121 | } |
no outgoing calls
no test coverage detected