diff options
author | Joey Hess <joey@kitenet.net> | 2010-10-13 23:03:01 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-13 23:03:01 -0400 |
commit | 64b5167b0f9620bd96cd57b58f0e40be741e5420 (patch) | |
tree | 2d052576731801f189294c42e10e0d16dfa09a80 /Types.hs | |
parent | 912d10e78b725b4d3d4105a0ffe5696c21fc0e10 (diff) |
update
Diffstat (limited to 'Types.hs')
-rw-r--r-- | Types.hs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,8 @@ {- git-annex core data types -} module Types ( - Annex(..), + Annex, + AnnexState, makeAnnexState, runAnnexState, gitAnnex, @@ -9,7 +10,6 @@ module Types ( backendsAnnex, backendsAnnexChange, - AnnexState(..), Key(..), Backend(..) ) where @@ -34,7 +34,7 @@ makeAnnexState g = AnnexState { repo = g, backends = [] } -- performs an action in the Annex monad runAnnexState state action = runStateT (action) state --- state accessors +-- Annex monad state accessors gitAnnex :: Annex GitRepo gitAnnex = do state <- get |