summaryrefslogtreecommitdiff
path: root/Types/CleanupActions.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2014-12-16 23:22:46 -0400
committerJoey Hess <joeyh@joeyh.name>2014-12-16 23:22:46 -0400
commita7690de016879432f5b6c7a04fa2f9a66568f541 (patch)
tree5f1fede24f28987874901f4413863afe5db937f6 /Types/CleanupActions.hs
parent386880a7634ca0b2753ff15c2b4d992d70e1d967 (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 498d5b4d7d..fafa2ee000 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)