| MissingH-1.1.0.3: Large utility library | Source code | Contents | Index

System.Path.Glob

Portability | portable
Stability | provisional
Maintainer | John Goerzen <jgoerzen@complete.org>

Description
Functions for expanding wildcards, filenames, and pathnames. For information on the metacharacters recognized, please see the notes in System.Path.WildMatch.
Synopsis

glob :: FilePath -> IO [FilePath]
vGlob :: HVFS a => a -> FilePath -> IO [FilePath]

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

vGlob :: HVFS a => a -> FilePath -> IO [FilePath] | Source

Like `glob`, but works on both the system (real) and HVFS virtual filesystems.
Produced by Haddock version 2.4.2