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

module Types.BranchState where

data BranchState = BranchState {
	branchUpdated :: Bool,
	cachedFile :: Maybe FilePath,
	cachedContent :: String
}

startBranchState :: BranchState
startBranchState = BranchState False Nothing ""