aboutsummaryrefslogtreecommitdiff
path: root/Types/CleanupActions.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2014-12-16 23:22:46 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2014-12-16 23:22:46 -0400
commit7dcad535f2db4b1e5f89ae2d59496fd86bba977c (patch)
tree7bc91205119c531fe29d1352cdf52719ebed11a7 /Types/CleanupActions.hs
parent4556a7ce6c079f27f8f02b945829ad8d41dc5881 (diff)
Added bittorrent special remote
addurl behavior change: When downloading an url ending in .torrent, it will download files from bittorrent, instead of the old behavior of adding the torrent file to the repository. Added Recommends on aria2 and bittornado | bittorrent. This commit was sponsored by Asbjørn Sloth Tønnesen.
Diffstat (limited to 'Types/CleanupActions.hs')
-rw-r--r--Types/CleanupActions.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Types/CleanupActions.hs b/Types/CleanupActions.hs
index 498d5b4d7..fafa2ee00 100644
--- a/Types/CleanupActions.hs
+++ b/Types/CleanupActions.hs
@@ -9,9 +9,12 @@ module Types.CleanupActions where
import Types.UUID
+import Utility.Url
+
data CleanupAction
= RemoteCleanup UUID
| StopHook UUID
| FsckCleanup
| SshCachingCleanup
+ | TorrentCleanup URLString
deriving (Eq, Ord)