From 59d2f363b7a2762978978bb3edf62aa47ef81abd Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 1 Oct 2012 15:12:04 -0400 Subject: group, ungroup: New commands to indicate groups of repositories. --- Types/Group.hs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Types/Group.hs (limited to 'Types/Group.hs') 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 + - + - 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) -- cgit v1.2.3