diff options
author | Joey Hess <joey@kitenet.net> | 2010-10-11 17:19:55 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-11 17:19:55 -0400 |
commit | af82586adff96f18fe768e432f501c647401262f (patch) | |
tree | 20e7ec170661ab11010e39ce46657b69e7341e09 /GitRepo.hs | |
parent | de3dafae80f45af8db56dc95e11863f049cf3cb2 (diff) |
split up Types
Diffstat (limited to 'GitRepo.hs')
-rw-r--r-- | GitRepo.hs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/GitRepo.hs b/GitRepo.hs index 3a8a8110d..c26f752ef 100644 --- a/GitRepo.hs +++ b/GitRepo.hs @@ -10,7 +10,12 @@ import System.IO import Data.String.Utils import Control.Exception import Utility -import Types + +-- a git repository +data GitRepo = GitRepo { + top :: FilePath, + bare :: Bool +} {- GitRepo constructor -} gitRepo :: FilePath -> IO GitRepo |