retrie-0.1.0.0: A powerful, easy-to-use codemodding tool for Haskell.

Safe HaskellNone
LanguageHaskell2010

Retrie.Util

Synopsis

Documentation

data Verbosity Source #

Constructors

Silent 
Normal 
Loud 
Instances
Eq Verbosity Source # 
Instance details

Defined in Retrie.Util

Ord Verbosity Source # 
Instance details

Defined in Retrie.Util

Show Verbosity Source # 
Instance details

Defined in Retrie.Util

vcsIgnorePred :: FilePath -> IO (Maybe (FilePath -> Bool)) Source #

Returns predicate which says whether filepath is ignored by VCS.

gitIgnorePred :: FilePath -> IO (Maybe (FilePath -> Bool)) Source #

Read .gitignore in dir and if successful, return predicate for whether given repo path should be ignored.

hgIgnorePred :: FilePath -> IO (Maybe (FilePath -> Bool)) Source #

Read .hgignore in dir and if successful, return predicate for whether given repo path should be ignored.

trySync :: IO a -> IO (Either SomeException a) Source #

Like try, but rethrows async exceptions.

uniqBag :: Uniquable a => [(a, b)] -> UniqFM [b] Source #