Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- data Verbosity
- debugPrint :: Verbosity -> String -> [String] -> IO ()
- vcsIgnorePred :: Verbosity -> FilePath -> IO (Maybe (FilePath -> Bool))
- gitIgnorePred :: Verbosity -> FilePath -> IO (Maybe (FilePath -> Bool))
- hgIgnorePred :: Verbosity -> FilePath -> IO (Maybe (FilePath -> Bool))
- ignoreWorker :: String -> Verbosity -> FilePath -> ([FilePath] -> [FilePath]) -> CreateProcess -> IO (Maybe (FilePath -> Bool))
- handler :: String -> Verbosity -> IOError -> IO (Maybe a)
- trySync :: IO a -> IO (Either SomeException a)
Documentation
vcsIgnorePred :: Verbosity -> FilePath -> IO (Maybe (FilePath -> Bool)) Source #
Returns predicate which says whether filepath is ignored by VCS.
gitIgnorePred :: Verbosity -> FilePath -> IO (Maybe (FilePath -> Bool)) Source #
Read .gitignore in dir and if successful, return predicate for whether given repo path should be ignored.
hgIgnorePred :: Verbosity -> FilePath -> IO (Maybe (FilePath -> Bool)) Source #
Read .hgignore in dir and if successful, return predicate for whether given repo path should be ignored.