Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- readingSystem :: IO a -> a
- askWithinCI :: IO Bool
- newtype RelGlobPattern = RelGlobPattern FilePath
- bindGlobPattern :: FilePath -> RelGlobPattern -> Pattern
Documentation
readingSystem :: IO a -> a Source #
We can quite safely treat surrounding filesystem as frozen, so IO reading operations can be turned into pure values.
askWithinCI :: IO Bool Source #
Heuristics to check whether we are running within CI. Check the respective env variable which is usually set in all CIs.
newtype RelGlobPattern Source #
Glob pattern relative to repository root.
Instances
FromJSON RelGlobPattern Source # | |
Defined in Xrefcheck.System parseJSON :: Value -> Parser RelGlobPattern # parseJSONList :: Value -> Parser [RelGlobPattern] # |
bindGlobPattern :: FilePath -> RelGlobPattern -> Pattern Source #