git-annex/Remote/Helper
Joey Hess b4cf22a388 pushed checkPresent exception handling out of Remote implementations
I tend to prefer moving toward explicit exception handling, not away from
it, but in this case, I think there are good reasons to let checkPresent
throw exceptions:

1. They can all be caught in one place (Remote.hasKey), and we know
   every possible exception is caught there now, which we didn't before.
2. It simplified the code of the Remotes. I think it makes sense for
   Remotes to be able to be implemented without needing to worry about
   catching exceptions inside them. (Mostly.)
3. Types.StoreRetrieve.Preparer can only work on things that return a
   Bool, which all the other relevant remote methods already did.
   I do not see a good way to generalize that type; my previous attempts
   failed miserably.
2014-08-06 13:45:19 -04:00
..
Chunked better exception display 2014-07-26 23:01:44 -04:00
AWS.hs plumb creds from webapp to initremote 2014-02-11 14:07:56 -04:00
Chunked.hs pushed checkPresent exception handling out of Remote implementations 2014-08-06 13:45:19 -04:00
Encryptable.hs pushed checkPresent exception handling out of Remote implementations 2014-08-06 13:45:19 -04:00
Git.hs add GETAVAILABILITY to external special remote protocol 2014-01-13 14:41:10 -04:00
Hooks.hs pushed checkPresent exception handling out of Remote implementations 2014-08-06 13:45:19 -04:00
Messages.hs pushed checkPresent exception handling out of Remote implementations 2014-08-06 13:45:19 -04:00
ReadOnly.hs Remotes can now be made read-only, by setting remote.<name>.annex-readonly 2014-01-02 13:12:32 -04:00
Special.hs pushed checkPresent exception handling out of Remote implementations 2014-08-06 13:45:19 -04:00
Ssh.hs pushed checkPresent exception handling out of Remote implementations 2014-08-06 13:45:19 -04:00