diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-12-09 14:55:47 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-12-09 14:55:47 -0400 |
commit | 819e710ac27f0e50a83eb5f2036b5c4a041c882c (patch) | |
tree | c9282a3d3095ca295cefcffa43d2f822e33fe030 /Annex.hs | |
parent | 26a0189fcb54290b1bad3afadef93804bb818987 (diff) |
stash DbHandle in Annex state
Diffstat (limited to 'Annex.hs')
-rw-r--r-- | Annex.hs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -60,6 +60,7 @@ import Types.NumCopies import Types.LockCache import Types.DesktopNotify import Types.CleanupActions +import qualified Database.AssociatedFiles.Types #ifdef WITH_QUVI import Utility.Quvi (QuviVersion) #endif @@ -134,6 +135,7 @@ data AnnexState = AnnexState , desktopnotify :: DesktopNotify , workers :: [Either AnnexState (Async AnnexState)] , concurrentjobs :: Maybe Int + , associatedfilesdbhandle :: Maybe Database.AssociatedFiles.Types.DbHandle } newState :: GitConfig -> Git.Repo -> AnnexState @@ -179,6 +181,7 @@ newState c r = AnnexState , desktopnotify = mempty , workers = [] , concurrentjobs = Nothing + , associatedfilesdbhandle = Nothing } {- Makes an Annex state object for the specified git repo. |