diff --git a/hpath-filepath/src/System/Posix/FilePath.hs b/hpath-filepath/src/System/Posix/FilePath.hs index 1927d4c..cc9d27e 100644 --- a/hpath-filepath/src/System/Posix/FilePath.hs +++ b/hpath-filepath/src/System/Posix/FilePath.hs @@ -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