Direct mode: Support filesystems like FAT which can change their inodes each time they are mounted.

This commit is contained in:
Joey Hess 2013-02-19 16:26:07 -04:00
parent 0f4cc559a7
commit 624e34649f
7 changed files with 69 additions and 15 deletions

View file

@ -116,6 +116,7 @@ data AnnexState = AnnexState
, flags :: M.Map String Bool
, fields :: M.Map String String
, cleanup :: M.Map String (Annex ())
, inodeschanged :: Maybe Bool
}
newState :: Git.Repo -> AnnexState
@ -145,6 +146,7 @@ newState gitrepo = AnnexState
, flags = M.empty
, fields = M.empty
, cleanup = M.empty
, inodeschanged = Nothing
}
{- Makes an Annex state object for the specified git repo.