8e2997aa69
Optimises query commands that do not. More importantly, avoids any ssh connection cleanup delay causing problems at the end of such commands.
17 lines
311 B
Haskell
17 lines
311 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
|
|
|
|
data CleanupAction
|
|
= RemoteCleanup UUID
|
|
| StopHook UUID
|
|
| FsckCleanup
|
|
| SshCachingCleanup
|
|
deriving (Eq, Ord)
|