summaryrefslogtreecommitdiff
path: root/Types
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-07-10 17:06:04 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-07-10 17:06:04 -0400
commitb873f05ca7e86344a28d269d682b7ffd8a88baca (patch)
tree2e1191a0e0ded12d30d913937e7335230e5fde9d /Types
parent490f52bbab0d6757dbe4b41bab2e39508899efea (diff)
migrate: Avoid re-checksumming when migrating from hashE to hash backend.
Diffstat (limited to 'Types')
-rw-r--r--Types/Backend.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Types/Backend.hs b/Types/Backend.hs
index c7d962db0..7eb59b6e2 100644
--- a/Types/Backend.hs
+++ b/Types/Backend.hs
@@ -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