a7690de016
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.
20 lines
359 B
Haskell
20 lines
359 B
Haskell
{- Enumeration of cleanup actions
|
|
-
|
|
- Copyright 2014 Joey Hess <joey@kitenet.net>
|
|
-
|
|
- Licensed under the GNU GPL version 3 or higher.
|
|
-}
|
|
|
|
module Types.CleanupActions where
|
|
|
|
import Types.UUID
|
|
|
|
import Utility.Url
|
|
|
|
data CleanupAction
|
|
= RemoteCleanup UUID
|
|
| StopHook UUID
|
|
| FsckCleanup
|
|
| SshCachingCleanup
|
|
| TorrentCleanup URLString
|
|
deriving (Eq, Ord)
|