(url: string)
| 451 | } |
| 452 | |
| 453 | function isValidHttpsUrl(url: string): boolean { |
| 454 | try { |
| 455 | const parsed = new URL(url); |
| 456 | return parsed.protocol === "https:"; |
| 457 | } catch { |
| 458 | return false; |
| 459 | } |
| 460 | } |
| 461 | |
| 462 | export async function uploadToWebdav( |
| 463 | _: IpcMainInvokeEvent, |
no outgoing calls
no test coverage detected