a27d4ed55d
Improve documentation
2016-06-05 03:22:11 +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
69dbf6714d
Relicense to BSD3
2016-06-04 00:39:03 +02:00
bb590a7692
Improve documentation
2016-05-31 16:21:14 +02:00
82ea75cc88
Small documentation fix
2016-05-30 17:16:24 +02:00
08de2ebefb
Move RelC class from HPath.Internal to HPath
2016-05-30 13:02:34 +02:00
21fccc9ca9
Fix build with ghc < 7.10
2016-05-29 18:57:55 +02:00
79dbcd8b55
Add type signature to pattern synonym
2016-05-29 17:56:51 +02:00
51da8bf5c2
HPath.IO: add createSymlink
2016-05-29 17:28:12 +02:00
51609781b2
Add makeRelative and makeValid
2016-05-24 15:31:14 +02:00
3cb3a822d7
Add test to equalFilePath
2016-05-24 15:30:56 +02:00
e66074af1c
Fix stripSuffix' for bytestring < 0.10.8
2016-05-24 03:29:40 +02:00
4032629407
Add TODO
2016-05-24 03:26:07 +02:00
5ac7450495
Small import fix
2016-05-24 03:26:07 +02:00
b55cf6d9f3
Fix for bytestring versions less than 0.10.8
2016-05-24 03:26:01 +02:00
ae9a806c2e
Fix to latest sendfile version to simplify imports
2016-05-24 03:13:36 +02:00
9c199c6da2
Rearrange, prettify and improve haddock
...
This also matches the documentation order from the
filepath package more.
2016-05-24 02:16:16 +02:00
eb72fce33f
Add splitSearchPath, getSearchPath and stripExtension
2016-05-24 02:07:04 +02:00
908513da2b
Prettify doctests
2016-05-23 00:52:27 +02:00
47dd729e8a
Small documentation improvements
2016-05-22 13:41:39 +02:00
620550dab4
Minor documentation fixes
2016-05-22 13:28:20 +02:00
5ed249f5d6
Fix haddock
2016-05-18 14:03:50 +02:00
a8ccfc2587
Release 0.7.0
2016-05-18 14:02:08 +02:00
8fec862304
Rm redundant import
2016-05-18 13:48:38 +02:00
646fe7cfea
Doc update
2016-05-18 13:42:31 +02:00
1bf27258c1
Uhm
2016-05-18 13:33:17 +02:00
797dcaf725
Backport changes from posix-paths PR:
...
* add isFileName
* add hasParentDir
* add hiddenFile
* add our own openFd version for more control
* small documentation improvements
* add a getDirectoryContents' version that works on Fd
* fix linting warnings
* lift version constraints in benchmark
Also adjust HPath.IO to work with the new API.
2016-05-18 04:11:40 +02:00
0fa66cd581
Use sendfile for copying and read/write as fallback
2016-05-18 03:47:39 +02:00
ee3ace362b
HPath.IO: minor doc fix
2016-05-10 12:05:55 +02:00
05fcad14f1
HPath.IO.Errors: minor documentation fix
2016-05-10 02:02:05 +02:00
f841a53985
HPath.IO: pretty
2016-05-10 00:36:51 +02:00
eb27c368e6
HPath.IO.Errors: explicit exports, improve haddock compat
2016-05-10 00:35:33 +02:00
c76df7f159
HPath.IO: small cleanup
2016-05-10 00:28:04 +02:00
613754c58f
HPath.IO: just do 'return ()' on unsupported file types where possible
...
Breaking the callstack with an ioError seems a bit harsh here.
2016-05-10 00:27:46 +02:00
d8b0b99edf
HPath.IO.Errors: provide all exception constructor checkers
2016-05-10 00:13:14 +02:00
794c3a2fc4
HPath.IO.Errors: remove obsolete HPathIOException constructors
2016-05-10 00:12:43 +02:00
8a28a5dd0f
HPath.IO.Errors: fix throwDestinationInSource
...
'canonicalizePath' was missing, making this function far less reliable.
In order for this to work we have to work around circular imports
with a IO.hs-boot file.
2016-05-10 00:11:42 +02:00
78a3baeb25
Export PathException
2016-05-09 19:34:19 +02:00
930b021a32
Add missing (<$>) imports
2016-05-09 18:53:26 +02:00
a83e96259f
Fix build with bytestring >= 0.10.8
2016-05-09 18:17:33 +02:00
14b48515a2
Add TODO to _copyFile
2016-05-09 18:15:05 +02:00
820bf8814d
Fix build with GHC versions prior 7.10.x
2016-05-09 18:14:08 +02:00
f27becc4df
Cleanup, improve docs
2016-05-09 17:37:16 +02:00
3bbde22377
Add 'hiddenFile' to System.Posix.FilePath
2016-05-09 17:37:00 +02:00
3da8533b48
Remove 'normalize' from HPath, since it's not needed
2016-05-09 17:04:26 +02:00
687a113252
Fix documentation in System.Posix.FilePath
2016-05-09 17:04:01 +02:00
86a4b9ade2
Add IO modules, previously from HSFM
2016-05-09 16:53:31 +02:00
6638cd8cc1
Create HPath.IO module, adding canonicalizePath again
2016-05-09 14:40:30 +02:00
196647a383
Move some functionality from HPath to System.Posix.FilePath
...
This also removes 'canonicalizePath' from HPath which fixes
the doctest.
2016-05-09 14:16:53 +02:00
a946387330
Merge posix-paths into hpath
2016-05-09 13:31:20 +02:00