aboutsummaryrefslogtreecommitdiff
path: root/Types/TrustLevel.hs
blob: 99d74973032de2aec79e7069f7d8f8a7432e3aac (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 = Trusted | SemiTrusted | UnTrusted | DeadTrusted
	deriving Eq

type TrustMap = M.Map UUID TrustLevel