()
| 2 | import type { DeviceInfo } from '../../kernel/device.ts'; |
| 3 | |
| 4 | export async function listLinuxDevices(): Promise<DeviceInfo[]> { |
| 5 | if (process.platform !== 'linux') { |
| 6 | return []; |
| 7 | } |
| 8 | |
| 9 | return [ |
| 10 | { |
| 11 | platform: 'linux', |
| 12 | id: 'local', |
| 13 | name: hostname(), |
| 14 | kind: 'device', |
| 15 | target: 'desktop', |
| 16 | booted: true, |
| 17 | }, |
| 18 | ]; |
| 19 | } |
no outgoing calls
no test coverage detected