RawFilePath conversion for Utility.Directory.Stream
This commit is contained in:
parent
1ceece3108
commit
c7cca43ab0
4 changed files with 29 additions and 25 deletions
|
@ -37,6 +37,11 @@ dirCruft "." = True
|
|||
dirCruft ".." = True
|
||||
dirCruft _ = False
|
||||
|
||||
dirCruft' :: R.RawFilePath -> Bool
|
||||
dirCruft' "." = True
|
||||
dirCruft' ".." = True
|
||||
dirCruft' _ = False
|
||||
|
||||
{- Lists the contents of a directory.
|
||||
- Unlike getDirectoryContents, paths are not relative to the directory. -}
|
||||
dirContents :: RawFilePath -> IO [RawFilePath]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue