summaryrefslogtreecommitdiff
path: root/Types/TrustLevel.hs
blob: ddb8e45e49f0fc8a7510d254a3daea167f11a08a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{- git-annex trust levels
 -
 - Copyright 2010 Joey Hess <joey@kitenet.net>
 -
 - Licensed under the GNU GPL version 3 or higher.
 -}

module Types.TrustLevel (
	TrustLevel(..),
	TrustMap
) where

import qualified Data.Map as M

import Types.UUID

data TrustLevel = SemiTrusted | UnTrusted | Trusted
	deriving Eq

type TrustMap = M.Map UUID TrustLevel