()
| 66 | } |
| 67 | |
| 68 | async function stopRclone() { |
| 69 | await delStorage(openlistInfo.markInRclone) |
| 70 | await stopSidecarGracefully({ |
| 71 | binary: 'binaries/rclone', |
| 72 | name: 'rclone', |
| 73 | graceful: async () => { |
| 74 | await rclone_api_post('/core/quit') |
| 75 | }, |
| 76 | }) |
| 77 | rcloneInfo.process.child = undefined as unknown as Child |
| 78 | } |
| 79 | |
| 80 | async function restartRclone() { |
| 81 | await restartSidecar(stopRclone, startRclone) |
no test coverage detected