()
| 165 | ): LinuxClipboardProvider { |
| 166 | return { |
| 167 | async readText() { |
| 168 | const tool = await resolveLocalLinuxTool(whichCommand, LOCAL_CLIPBOARD_TOOLS); |
| 169 | const command = LOCAL_CLIPBOARD_READ_COMMANDS[tool]; |
| 170 | return (await runCommand(command.cmd, command.args, command.options)).stdout; |
| 171 | }, |
| 172 | async writeText(text) { |
| 173 | const tool = await resolveLocalLinuxTool(whichCommand, LOCAL_CLIPBOARD_TOOLS); |
| 174 | const command = LOCAL_CLIPBOARD_WRITE_COMMANDS[tool](text); |
nothing calls this directly
no test coverage detected