| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Xrefcheck.Config
Contents
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.
Constructors
| Config | |
Fields | |
data TraversalConfig Source #
Config of repositry traversal.
Constructors
| TraversalConfig | |
Instances
| FromJSON TraversalConfig Source # | |
Defined in Xrefcheck.Config Methods parseJSON :: Value -> Parser TraversalConfig # parseJSONList :: Value -> Parser [TraversalConfig] # | |
data VerifyConfig Source #
Config of verification.
Constructors
| VerifyConfig | |
Fields
| |
Instances
| FromJSON VerifyConfig Source # | |
Defined in Xrefcheck.Config | |
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 #