summaryrefslogtreecommitdiff
path: root/BackendTypes.hs
diff options
context:
space:
mode:
Diffstat (limited to 'BackendTypes.hs')
-rw-r--r--BackendTypes.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/BackendTypes.hs b/BackendTypes.hs
index e4b155f98..fd4a61b98 100644
--- a/BackendTypes.hs
+++ b/BackendTypes.hs
@@ -31,9 +31,10 @@ data Backend a = Backend {
-- checks if a backend is storing the content of a key
hasKey :: Key -> a Bool,
-- called during fsck to check a key
- -- (second parameter may be the number of copies that there should
+ -- (second parameter may be the filename associated with it)
+ -- (third parameter may be the number of copies that there should
-- be of the key)
- fsckKey :: Key -> Maybe Int -> a Bool
+ fsckKey :: Key -> Maybe FilePath -> Maybe Int -> a Bool
}
instance Show (Backend a) where