migrate: Avoid re-checksumming when migrating from hashE to hash backend.

This commit is contained in:
Joey Hess 2014-07-10 17:06:04 -04:00
parent 564de5e508
commit 9d71903c2f
7 changed files with 34 additions and 12 deletions

View file

@ -17,6 +17,7 @@ data BackendA a = Backend
, getKey :: KeySource -> a (Maybe Key)
, fsckKey :: Maybe (Key -> FilePath -> a Bool)
, canUpgradeKey :: Maybe (Key -> Bool)
, fastMigrate :: Maybe (Key -> BackendA a -> Maybe Key)
}
instance Show (BackendA a) where