Copyright | (c) K. Isom (2017) |
---|---|
License | BSD-style |
Maintainer | K. Isom <kyle@imap.cc> |
Stability | stable |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Dir contains utilities for interacting with directories, such as obtaining lists of files.
- data Listing
- listDirectory :: FilePath -> IO Listing
- listingFiles :: Listing -> [FilePath]
- listingDirectories :: Listing -> [FilePath]
- listingParent :: Listing -> FilePath
Documentation
listingFiles :: Listing -> [FilePath] Source #
listingFiles returns the list of files in a Listing.
listingDirectories :: Listing -> [FilePath] Source #
listingDirectories returns the list of directories in a Listing.
listingParent :: Listing -> FilePath Source #
listingParent returns the parent in a Listing.