diff options
Diffstat (limited to 'Annex/InodeSentinal.hs')
-rw-r--r-- | Annex/InodeSentinal.hs | 3 |
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 |