Get HDC command prefix with optional device specifier.
(device_id: str | None)
| 143 | |
| 144 | |
| 145 | def _get_hdc_prefix(device_id: str | None) -> list: |
| 146 | """Get HDC command prefix with optional device specifier.""" |
| 147 | if device_id: |
| 148 | return ["hdc", "-t", device_id] |
| 149 | return ["hdc"] |
no outgoing calls
no test coverage detected