diff options
author | Joey Hess <joey@kitenet.net> | 2012-01-19 15:24:05 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-01-19 15:24:05 -0400 |
commit | 90319afa41ca6d8a9ffe00d787dc3dcdff320f00 (patch) | |
tree | 68b9a324b9feb7ed45cc7ab24dc82e120cc26ff3 /Types/Backend.hs | |
parent | d36525e9745b90cc04abfeac6500ff646cb9c89b (diff) |
fsck --from
Fscking a remote is now supported. It's done by retrieving
the contents of the specified files from the remote, and checking them,
so can be an expensive operation.
(Several optimisations are possible, to speed it up, of course.. This is
the slow and stupid remote fsck to start with.)
Still, if the remote is a special remote, or a git repository that you
cannot run fsck in locally, it's nice to have the ability to fsck it.
If you have any directory special remotes, now would be a good time to
fsck them, in case you were hit by the data loss bug fixed in the
previous release!
Diffstat (limited to 'Types/Backend.hs')
-rw-r--r-- | Types/Backend.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Types/Backend.hs b/Types/Backend.hs index 1966d667f..d52cec547 100644 --- a/Types/Backend.hs +++ b/Types/Backend.hs @@ -17,7 +17,7 @@ data BackendA a = Backend { -- converts a filename to a key getKey :: FilePath -> a (Maybe Key), -- called during fsck to check a key, if the backend has its own checks - fsckKey :: Maybe (Key -> a Bool) + fsckKey :: Maybe (Key -> FilePath -> a Bool) } instance Show (BackendA a) where |