migrate: Support migrating v1 SHA keys to v2 SHA keys with size information that can be used for free space checking.

This commit is contained in:
Joey Hess 2011-03-23 17:57:10 -04:00
parent ad08273ac5
commit 6246b807f7
9 changed files with 54 additions and 10 deletions

View file

@ -30,7 +30,9 @@ backend = Backend {
-- similarly, keys are always assumed to be out there on the web
hasKey = dummyOk,
-- and nothing needed to fsck
fsckKey = dummyFsck
fsckKey = dummyFsck,
-- and key upgrade not needed
upgradableKey = \_ -> return False
}
-- cannot generate url from filename