Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Config = Config {}
- data TraversalConfig = TraversalConfig {}
- data VerifyConfig = VerifyConfig {}
- cVerificationL :: Lens' Config VerifyConfig
- cTraversalL :: Lens' Config TraversalConfig
- vcVirtualFilesL :: Lens' VerifyConfig [RelGlobPattern]
- vcNotScannedL :: Lens' VerifyConfig [FilePath]
- vcIgnoreRefsL :: Lens' VerifyConfig (Maybe [Regex])
- vcExternalRefCheckTimeoutL :: Lens' VerifyConfig (Time Second)
- vcAnchorSimilarityThresholdL :: Lens' VerifyConfig Double
- defConfigText :: ByteString
- defConfig :: HasCallStack => Config
- defaultCompOption :: CompOption
- defaultExecOption :: ExecOption
Documentation
Overall config.
data TraversalConfig Source #
Config of repositry traversal.
Instances
FromJSON TraversalConfig Source # | |
Defined in Xrefcheck.Config parseJSON :: Value -> Parser TraversalConfig # parseJSONList :: Value -> Parser [TraversalConfig] # |
data VerifyConfig Source #
Config of verification.
VerifyConfig | |
|
Instances
FromJSON VerifyConfig Source # | |
Defined in Xrefcheck.Config parseJSON :: Value -> Parser VerifyConfig # parseJSONList :: Value -> Parser [VerifyConfig] # |
vcIgnoreRefsL :: Lens' VerifyConfig (Maybe [Regex]) Source #
defConfigText :: ByteString Source #
Default config in textual representation.
Sometimes you cannot just use defConfig
because clarifying comments
would be lost.
defConfig :: HasCallStack => Config Source #