summaryrefslogtreecommitdiff
path: root/Types
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-03-13 19:06:26 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-03-13 19:06:26 -0400
commitc1c5ff5626edbd4474b327dc8b8e66bd218b3e5e (patch)
tree3eca00d56bac0fc4fb7674375ea56f039273d074 /Types
parent4727e1dc1de161ad9517bcb4c101c66ac632284f (diff)
clean up cleanup action enumeration
Diffstat (limited to 'Types')
-rw-r--r--Types/CleanupActions.hs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Types/CleanupActions.hs b/Types/CleanupActions.hs
new file mode 100644
index 000000000..decd2f873
--- /dev/null
+++ b/Types/CleanupActions.hs
@@ -0,0 +1,16 @@
+{- 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
+ deriving (Eq, Ord)