2011-06-22 15:58:30 -04:00
|
|
|
{- git-annex BranchState data type
|
|
|
|
-
|
2015-01-21 12:50:09 -04:00
|
|
|
- Copyright 2011 Joey Hess <id@joeyh.name>
|
2011-06-22 15:58:30 -04:00
|
|
|
-
|
|
|
|
- Licensed under the GNU GPL version 3 or higher.
|
|
|
|
-}
|
|
|
|
|
|
|
|
module Types.BranchState where
|
|
|
|
|
2012-12-19 23:41:54 -04:00
|
|
|
data BranchState = BranchState
|
|
|
|
{ branchUpdated :: Bool -- has the branch been updated this run?
|
|
|
|
, indexChecked :: Bool -- has the index file been checked to exist?
|
|
|
|
}
|
2011-06-22 15:58:30 -04:00
|
|
|
|
|
|
|
startBranchState :: BranchState
|
2012-12-19 23:41:54 -04:00
|
|
|
startBranchState = BranchState False False
|