summaryrefslogtreecommitdiff
path: root/Types/Group.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Types/Group.hs')
-rw-r--r--Types/Group.hs20
1 files changed, 20 insertions, 0 deletions
diff --git a/Types/Group.hs b/Types/Group.hs
new file mode 100644
index 000000000..dd06cbfd7
--- /dev/null
+++ b/Types/Group.hs
@@ -0,0 +1,20 @@
+{- git-annex repo groups
+ -
+ - Copyright 2012 Joey Hess <joey@kitenet.net>
+ -
+ - Licensed under the GNU GPL version 3 or higher.
+ -}
+
+module Types.Group (
+ Group,
+ GroupMap
+) where
+
+import Types.UUID
+
+import qualified Data.Map as M
+import qualified Data.Set as S
+
+type Group = String
+
+type GroupMap = M.Map UUID (S.Set Group)