Remove immediate bin

This commit is contained in:
Ben Adrian Sarmiento
2024-06-18 23:43:31 +02:00
parent 34a7d6a432
commit acc9b69b5a
8 changed files with 58 additions and 87 deletions

View File

@@ -12,6 +12,9 @@ func NewTorrentState(initial string) *fsm.FSM {
{Name: "break_torrent", Src: []string{"ok_torrent"}, Dst: "broken_torrent"},
// when repair has been started
{Name: "repair_torrent", Src: []string{"ok_torrent", "broken_torrent"}, Dst: "under_repair_torrent"},
// when converting to torrent
// when merging with another same hash torrent
// when a torrent is rar'ed and not extracting
{Name: "mark_as_repaired", Src: []string{"broken_torrent", "under_repair_torrent"}, Dst: "ok_torrent"},
},
fsm.Callbacks{},