2014-03-13 23:06:26 +00:00
|
|
|
{- Enumeration of cleanup actions
|
|
|
|
-
|
2015-01-21 16:50:09 +00:00
|
|
|
- Copyright 2014 Joey Hess <id@joeyh.name>
|
2014-03-13 23:06:26 +00:00
|
|
|
-
|
2019-03-13 19:48:14 +00:00
|
|
|
- Licensed under the GNU AGPL version 3 or higher.
|
2014-03-13 23:06:26 +00:00
|
|
|
-}
|
|
|
|
|
|
|
|
module Types.CleanupActions where
|
|
|
|
|
|
|
|
import Types.UUID
|
|
|
|
|
2014-12-17 03:22:46 +00:00
|
|
|
import Utility.Url
|
|
|
|
|
2014-03-13 23:06:26 +00:00
|
|
|
data CleanupAction
|
|
|
|
= RemoteCleanup UUID
|
|
|
|
| StopHook UUID
|
|
|
|
| FsckCleanup
|
2014-03-13 23:30:13 +00:00
|
|
|
| SshCachingCleanup
|
2014-12-17 03:22:46 +00:00
|
|
|
| TorrentCleanup URLString
|
2019-01-17 19:40:44 +00:00
|
|
|
| OtherTmpCleanup
|
2014-03-13 23:06:26 +00:00
|
|
|
deriving (Eq, Ord)
|