summaryrefslogtreecommitdiff
path: root/Types/BranchState.hs
blob: 8c57a223ab5a744bda61b3db8aa1c36e49165191 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{- git-annex BranchState data type
 -
 - Copyright 2011 Joey Hess <id@joeyh.name>
 -
 - Licensed under the GNU GPL version 3 or higher.
 -}

module Types.BranchState where

data BranchState = BranchState
	{ branchUpdated :: Bool -- has the branch been updated this run?
	, indexChecked :: Bool -- has the index file been checked to exist?
	}

startBranchState :: BranchState
startBranchState = BranchState False False