Remove immediate bin
This commit is contained in:
@@ -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{},
|
||||
|
||||
Reference in New Issue
Block a user