Copyright | Copyright (C) 2006-2011 John Goerzen |
---|---|
License | BSD3 |
Maintainer | John Goerzen <jgoerzen@complete.org> |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
Functions for expanding wildcards, filenames, and pathnames.
For information on the metacharacters recognized, please see the notes in System.Path.WildMatch.
Documentation
glob :: FilePath -> IO [FilePath] Source
Takes a pattern. Returns a list of names that match that pattern. The pattern is evaluated by System.Path.WildMatch. This function does not perform tilde or environment variable expansion.
Filenames that begin with a dot are not included in the result set unless that component of the pattern also begins with a dot.
In MissingH, this function is defined as:
glob = vGlob SystemFS