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

{-# LANGUAGE CPP #-}

module Types.Limit where

import Common.Annex
import Types.FileMatcher

import qualified Data.Set as S

type MkLimit = String -> Either String MatchFiles

type AssumeNotPresent = S.Set UUID
type MatchFiles = AssumeNotPresent -> MatchInfo -> Annex Bool