Compare commits

..

No commits in common. "ae21dbc7fa0c957b4d30ac4079140c8776f17de0" and "3cb17dd25376bd1353fe2129d3057b80668ada3e" have entirely different histories.

3 changed files with 5 additions and 6 deletions

View File

@ -1,9 +1,5 @@
# Revision history for hpath-directory
## 0.13.3 -- 2020-04-14
* Fix tests on mac
## 0.13.2 -- 2020-02-17
* Fix bug in `createDirRecursive` with trailing path separators

View File

@ -1,7 +1,7 @@
cabal-version: >=1.10
name: hpath-directory
version: 0.13.3
version: 0.13.2
synopsis: Alternative to 'directory' package with ByteString based filepaths
description: This provides a safer alternative to the 'directory'
package. FilePaths are ByteString based, so this

View File

@ -186,8 +186,11 @@ parseRel filepath =
-- | Parses a path, whether it's relative or absolute.
-- | Parses a path, whether it's relative or absolute. Will lose
-- information on whether it's relative or absolute. If you need to know,
-- reparse it.
--
-- Filenames must not contain slashes.
-- Excludes '.' and '..'.
--
-- Throws: 'PathParseException'