rename fsckKey to verifyKeyContent
No behavior changes.
This commit is contained in:
parent
49841bbd64
commit
cad3349001
8 changed files with 20 additions and 17 deletions
|
@ -53,7 +53,7 @@ genBackend :: Hash -> Backend
|
|||
genBackend hash = Backend
|
||||
{ name = hashName hash
|
||||
, getKey = keyValue hash
|
||||
, fsckKey = Just $ checkKeyChecksum hash
|
||||
, verifyKeyContent = Just $ checkKeyChecksum hash
|
||||
, canUpgradeKey = Just needsUpgrade
|
||||
, fastMigrate = Just trivialMigrate
|
||||
, isStableKey = const True
|
||||
|
|
|
@ -22,7 +22,7 @@ backend :: Backend
|
|||
backend = Backend
|
||||
{ name = "URL"
|
||||
, getKey = const $ return Nothing
|
||||
, fsckKey = Nothing
|
||||
, verifyKeyContent = Nothing
|
||||
, canUpgradeKey = Nothing
|
||||
, fastMigrate = Nothing
|
||||
-- The content of an url can change at any time, so URL keys are
|
||||
|
|
|
@ -21,7 +21,7 @@ backend :: Backend
|
|||
backend = Backend
|
||||
{ name = "WORM"
|
||||
, getKey = keyValue
|
||||
, fsckKey = Nothing
|
||||
, verifyKeyContent = Nothing
|
||||
, canUpgradeKey = Nothing
|
||||
, fastMigrate = Nothing
|
||||
, isStableKey = const True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue