Commit Graph

8 Commits

Author SHA1 Message Date
3baecb7b51
Improve CopyDirRecursiveCollectFailures tests 2016-06-14 19:32:33 +02:00
ef66a24f87
Improve error handling
* remove some obsolete functions and error types from HPath.IO.Errors
  that are completely unused
* reworked the RecursiveFailure type to contain more information,
  so we can use it to programmatically make useful choices
  without examining the weakly types IO error attributes (like
  'ioGetFileName')
2016-06-14 19:13:25 +02:00
a1eb06324f
Rm unused imports 2016-06-05 16:09:34 +02:00
d708f80a1f
TESTS: don't assume ordering of exceptions 2016-06-05 15:37:26 +02:00
f07619b7c6
TESTS: fix before/after 2016-06-05 15:25:57 +02:00
c5bcb90b65
TESTS: don't use lazy IO -.- 2016-06-05 14:55:21 +02:00
bc348c7dd5
TESTS: less side effects plz 2016-06-05 14:33:53 +02:00
64ae6db83a
New API: use CopyMode for overwriting and introduce RecursiveMode
This allows to specify the behavior on recursive operations,
such that one can collect failures instead of dying on the first
failure.
2016-06-05 03:13:33 +02:00