Browse Source

Fix documentation

travis
Julian Ospald 4 years ago
parent
commit
a6036a7aea
No known key found for this signature in database GPG Key ID: 511B62C09D50CD28
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      hpath-filepath/src/System/Posix/FilePath.hs

+ 2
- 0
hpath-filepath/src/System/Posix/FilePath.hs View File

@@ -727,7 +727,8 @@ makeValid path
| otherwise = BS.map (\x -> if x == _nul then _underscore else x) path


-- | Whether the filename is a special directory entry
-- (. and ..). Does not normalise filepaths.
--
-- >>> isSpecialDirectoryEntry "."
-- True


Loading…
Cancel
Save