diff options
author | Joey Hess <joey@kitenet.net> | 2012-10-01 15:12:04 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-10-01 15:12:04 -0400 |
commit | 59d2f363b7a2762978978bb3edf62aa47ef81abd (patch) | |
tree | 6519760756a8d9cef3558a91ab3cbc69f1e58ac3 /Types/Group.hs | |
parent | 65315e13716443be3c50f7e556a1206a45df2a32 (diff) |
group, ungroup: New commands to indicate groups of repositories.
Diffstat (limited to 'Types/Group.hs')
-rw-r--r-- | Types/Group.hs | 20 |
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) |