Commit Graph

197 Commits

Author SHA1 Message Date
Julian Ospald 8a19f54a34
Test 2016-11-16 10:23:14 +01:00
Julian Ospald 3baecb7b51
Improve CopyDirRecursiveCollectFailures tests 2016-06-14 19:32:33 +02:00
Julian Ospald 5d5b0ae3c1
Add missing language pragma 2016-06-14 19:32:14 +02:00
Julian Ospald f47c8edb42
Fix build for GHC < 7.10 2016-06-14 19:21:03 +02:00
Julian Ospald 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
Julian Ospald f6a5cb8668
Add test to basename 2016-06-13 13:51:53 +02:00
Julian Ospald 4dec385332
Improve createDirRecursive 2016-06-13 01:38:44 +02:00
Julian Ospald 5b08e14b55
Add createDirRecursive, fixes #6 2016-06-13 01:28:55 +02:00
Julian Ospald ac381cbf60
Improve documentation 2016-06-05 22:19:30 +02:00
Julian Ospald ce7fdcdcd6
Move documentation note about RecursiveFailure where it belongs 2016-06-05 22:04:16 +02:00
Julian Ospald a31c9d1e88
Improve documentation and tests for file creation 2016-06-05 21:59:31 +02:00
Julian Ospald a5942ff026
Use IfElse package for whenM/unlessM 2016-06-05 21:52:52 +02:00
Julian Ospald 4d71ad08ce
Release 0.8.0 2016-06-05 17:56:31 +02:00
Julian Ospald 92017ab630
Make createRegularFile and createDir accept FileMode parameter 2016-06-05 17:46:25 +02:00
Julian Ospald 16af98b32d
Be more specific about Overwrite mode 2016-06-05 16:38:54 +02:00
Julian Ospald 6da01e382f
Improve documentation 2016-06-05 16:31:08 +02:00
Julian Ospald ed06543981
Proper GHC conditionals to fix compiler warnings 2016-06-05 16:16:41 +02:00
Julian Ospald d3eb2fc254
Fix build with GHC-7.8 2016-06-05 16:12:51 +02:00
Julian Ospald a1eb06324f
Rm unused imports 2016-06-05 16:09:34 +02:00
Julian Ospald d12ce30f57
Fix docs and rename RecursiveMode to RecursiveErrorMode 2016-06-05 16:07:46 +02:00
Julian Ospald 7a6f0e8728
Fix spelling 2016-06-05 16:00:15 +02:00
Julian Ospald 7ed5829d47
Fix documentation 2016-06-05 15:57:41 +02:00
Julian Ospald d708f80a1f
TESTS: don't assume ordering of exceptions 2016-06-05 15:37:26 +02:00
Julian Ospald f07619b7c6
TESTS: fix before/after 2016-06-05 15:25:57 +02:00
Julian Ospald c5bcb90b65
TESTS: don't use lazy IO -.- 2016-06-05 14:55:21 +02:00
Julian Ospald 4f047dbc77
TESTS: import unsafePerformIO from System.IO.Unsafe 2016-06-05 14:46:45 +02:00
Julian Ospald bc348c7dd5
TESTS: less side effects plz 2016-06-05 14:33:53 +02:00
Julian Ospald 5d1c5cc2ce
Fix linter warning 2016-06-05 03:26:05 +02:00
Julian Ospald 8f6ca81d22
Add tests to RecreateSymlinkOverwriteSpec 2016-06-05 03:22:35 +02:00
Julian Ospald a27d4ed55d
Improve documentation 2016-06-05 03:22:11 +02:00
Julian Ospald 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
Julian Ospald 2a0a88a96d
Release 0.7.5 2016-06-04 00:39:03 +02:00
Julian Ospald 69dbf6714d
Relicense to BSD3 2016-06-04 00:39:03 +02:00
Julian Ospald 2d96311b33
TRAVIS: install missing hscolour 2016-06-01 18:53:54 +02:00
Julian Ospald 21668f12fe
TRAVIS: fix update-gh-pages.sh 2016-06-01 18:45:49 +02:00
Julian Ospald 6e37e18bc8
TRAVIS: fix cwd 2016-06-01 18:35:47 +02:00
Julian Ospald ae24f87c74
TRAVIS: make update-gh-pages executable 2016-06-01 18:26:06 +02:00
Julian Ospald 9f6734e700
TRAVIS: fix update-gh-pages.sh 2016-06-01 15:34:30 +02:00
Julian Ospald 741c510b91
TRAVIS: automatic gh-pages pushing 2016-06-01 15:30:15 +02:00
Julian Ospald bb590a7692
Improve documentation 2016-05-31 16:21:14 +02:00
Julian Ospald 641e23c3ef
Release 0.7.3 2016-05-30 17:16:37 +02:00
Julian Ospald 82ea75cc88
Small documentation fix 2016-05-30 17:16:24 +02:00
Julian Ospald abf043be14
Add examples to README 2016-05-30 16:02:08 +02:00
Julian Ospald 10adc4be27
TRAVIS: use CABALVER=1.24 for GHCVER=7.10.2 2016-05-30 13:33:22 +02:00
Julian Ospald a176e4970b
TRAVIS: add CABALVER=1.24 GHCVER=8.0.1 2016-05-30 13:32:56 +02:00
Julian Ospald 08de2ebefb
Move RelC class from HPath.Internal to HPath 2016-05-30 13:02:34 +02:00
Julian Ospald d15d7761c1
Don't expose HPath.Internal 2016-05-30 13:01:47 +02:00
Julian Ospald 7e924d3386
Remove benchmarks
We don't really need this.
2016-05-29 22:45:26 +02:00
Julian Ospald 21fccc9ca9
Fix build with ghc < 7.10 2016-05-29 18:57:55 +02:00
Julian Ospald 79dbcd8b55
Add type signature to pattern synonym 2016-05-29 17:56:51 +02:00