diff options
author | Joey Hess <joey@kitenet.net> | 2014-07-28 14:14:01 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-07-28 14:14:01 -0400 |
commit | 094169ce58c798273929d5949576b1e4ccfb8d71 (patch) | |
tree | a3c03bd987c60fa67d63d4c40e58400f9837323e /Types | |
parent | c25686d17f4b1c7850b8b733b5e63cb829becb3f (diff) |
fix handling of removal of keys that are not present
Diffstat (limited to 'Types')
-rw-r--r-- | Types/Remote.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Types/Remote.hs b/Types/Remote.hs index 584f3d044..9c2a69eff 100644 --- a/Types/Remote.hs +++ b/Types/Remote.hs @@ -64,7 +64,7 @@ data RemoteA a = Remote { retrieveKeyFile :: Key -> AssociatedFile -> FilePath -> MeterUpdate -> a Bool, -- retrieves a key's contents to a tmp file, if it can be done cheaply retrieveKeyFileCheap :: Key -> FilePath -> a Bool, - -- removes a key's contents + -- removes a key's contents (succeeds if the contents are not present) removeKey :: Key -> a Bool, -- Checks if a key is present in the remote; if the remote -- cannot be accessed returns a Left error message. |