aboutsummaryrefslogtreecommitdiff
path: root/Annex/InodeSentinal.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-12-21 18:41:15 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-12-21 18:41:15 -0400
commit0ac35d9b0ea997f9d6051d86889f4bb4df914498 (patch)
tree2a840c98bcf644f97c4092cb350a3171cd0365d4 /Annex/InodeSentinal.hs
parent5c0d394c39f0cc08abad5de12d797a18661b6c9d (diff)
wip v6 support for assistant
Files are not yet added to v6 repos in unlocked mode.
Diffstat (limited to 'Annex/InodeSentinal.hs')
-rw-r--r--Annex/InodeSentinal.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Annex/InodeSentinal.hs b/Annex/InodeSentinal.hs
index 8b48094df..412a7accc 100644
--- a/Annex/InodeSentinal.hs
+++ b/Annex/InodeSentinal.hs
@@ -24,6 +24,9 @@ compareInodeCaches x y
, return False
)
+compareInodeCachesWith :: Annex InodeComparisonType
+compareInodeCachesWith = ifM inodesChanged ( return Weakly, return Strongly )
+
{- Checks if one of the provided old InodeCache matches the current
- version of a file. -}
sameInodeCache :: FilePath -> [InodeCache] -> Annex Bool