Add bins
This commit is contained in:
@@ -41,10 +41,12 @@ type TorrentManager struct {
|
||||
latestState *LibraryState
|
||||
|
||||
repairTrigger chan *Torrent
|
||||
repairSet mapset.Set[*Torrent]
|
||||
repairQueue mapset.Set[*Torrent]
|
||||
repairRunning bool
|
||||
repairRunningMu sync.Mutex
|
||||
trashBin mapset.Set[string]
|
||||
|
||||
trashBin mapset.Set[string]
|
||||
repairBin mapset.Set[string] // same as trash bin, but only if the torrent has been downloaded
|
||||
}
|
||||
|
||||
// NewTorrentManager creates a new torrent manager
|
||||
|
||||
Reference in New Issue
Block a user