git-annex/Types/CleanupActions.hs

28 lines
507 B
Haskell
Raw Normal View History

2014-03-13 23:06:26 +00:00
{- Enumeration of cleanup actions
-
- Copyright 2014-2020 Joey Hess <id@joeyh.name>
2014-03-13 23:06:26 +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
import Utility.Url
import System.Process (Pid)
2014-03-13 23:06:26 +00:00
data CleanupAction
= RemoteCleanup UUID
| StopHook UUID
| FsckCleanup
| SshCachingCleanup
| AdjustedBranchUpdate
| TorrentCleanup URLString
| OtherTmpCleanup
2014-03-13 23:06:26 +00:00
deriving (Eq, Ord)
data SignalAction
= PropagateSignalProcessGroup Pid
deriving (Eq, Ord)