| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
HaskellCI.Glob
Synopsis
- data FilePathGlob = FilePathGlob FilePathRoot FilePathGlobRel
- data FilePathGlobRel
- type Glob = [GlobPiece]
- data GlobPiece
- data FilePathRoot
- parseFilePathGlobRel :: ReadP FilePathGlobRel
- parseGlob :: ReadP Glob
- isGlobEscapedChar :: Char -> Bool
- expandRelGlob :: MonadIO m => FilePath -> FilePathGlobRel -> m [FilePath]
- matchGlob :: Glob -> FilePath -> Bool
Documentation
data FilePathGlob Source #
Constructors
| FilePathGlob FilePathRoot FilePathGlobRel |
Instances
| Eq FilePathGlob Source # | |
Defined in HaskellCI.Glob | |
| Show FilePathGlob Source # | |
Defined in HaskellCI.Glob Methods showsPrec :: Int -> FilePathGlob -> ShowS # show :: FilePathGlob -> String # showList :: [FilePathGlob] -> ShowS # | |
data FilePathGlobRel Source #
Constructors
| GlobDir Glob FilePathGlobRel | |
| GlobFile Glob | |
| GlobDirTrailing |
Instances
| Eq FilePathGlobRel Source # | |
Defined in HaskellCI.Glob Methods (==) :: FilePathGlobRel -> FilePathGlobRel -> Bool # (/=) :: FilePathGlobRel -> FilePathGlobRel -> Bool # | |
| Show FilePathGlobRel Source # | |
Defined in HaskellCI.Glob Methods showsPrec :: Int -> FilePathGlobRel -> ShowS # show :: FilePathGlobRel -> String # showList :: [FilePathGlobRel] -> ShowS # | |
data FilePathRoot Source #
Constructors
| FilePathRelative | |
| FilePathRoot FilePath | |
| FilePathHomeDir |
Instances
| Eq FilePathRoot Source # | |
Defined in HaskellCI.Glob | |
| Show FilePathRoot Source # | |
Defined in HaskellCI.Glob Methods showsPrec :: Int -> FilePathRoot -> ShowS # show :: FilePathRoot -> String # showList :: [FilePathRoot] -> ShowS # | |
isGlobEscapedChar :: Char -> Bool Source #
expandRelGlob :: MonadIO m => FilePath -> FilePathGlobRel -> m [FilePath] Source #