Add DeleteTorrent to torrent client interface for cancel cleanup

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/claude-agent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
Alexander
2026-05-11 15:54:17 +02:00
parent e5bdf2c4ce
commit be859e87c0
2 changed files with 35 additions and 0 deletions
+1
View File
@@ -45,5 +45,6 @@ type TorrentClient interface {
Find(opts FindOptions) ([]TorrentInfo, error)
AddTorrent(file TorrentFile, savePath string) error
AddMagnet(magnetURI string, savePath string) error
DeleteTorrent(hash string) error
DefaultSavePath() (string, error)
}