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

module Types.Branch where

data BranchCache = BranchCache {
	cachedFile :: Maybe FilePath,
	cachedContent :: String
}

emptyBranchCache :: BranchCache
emptyBranchCache = BranchCache Nothing ""