Fix documentation

This commit is contained in:
Julian Ospald 2020-01-24 13:01:28 +01:00
parent 0ff3808544
commit a6036a7aea
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
1 changed files with 2 additions and 1 deletions

View File

@ -727,7 +727,8 @@ makeValid path
| otherwise = BS.map (\x -> if x == _nul then _underscore else x) path
-- | Is a FilePath valid, i.e. could you create a file like it?
-- | Whether the filename is a special directory entry
-- (. and ..). Does not normalise filepaths.
--
-- >>> isSpecialDirectoryEntry "."
-- True