(taskId: string)
| 927 | }; |
| 928 | |
| 929 | const stopDownloadFileFromUrl = async (taskId: string) => { |
| 930 | const { execute } = downloadFromUrlStopApi(); |
| 931 | try { |
| 932 | await execute({ |
| 933 | params: { |
| 934 | uuid: instanceId || "", |
| 935 | daemonId: daemonId || "" |
| 936 | }, |
| 937 | data: { |
| 938 | taskId: taskId |
| 939 | } |
| 940 | }); |
| 941 | await getFileList(); |
| 942 | } catch (error: any) { |
| 943 | reportErrorMsg(error.message); |
| 944 | } |
| 945 | }; |
| 946 | |
| 947 | const handleChangeDir = async (dir: string) => { |
| 948 | if (!dir) return; |
nothing calls this directly
no test coverage detected