| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Osv.Types
Description
The advisory-range vocabulary of the OSV pipeline.
Ecluse.Core.Osv.Advisory and Ecluse.Core.Osv.Compile write these bounds into the compiled artifact, and Ecluse.Core.Cve and Ecluse.Core.Rules read them back. The vocabulary lives apart from both so the reading side never imports the writing side.
Synopsis
- data UpperBound
Documentation
data UpperBound Source #
Where an affected interval closes. An advisory states one upper bound or none, so no segment can carry two.
Constructors
| FixedBefore Text | Exclusive: affected below this version, which is itself the fix. |
| LastAffected Text | Inclusive: affected up to and including this version. |
| Unbounded | The interval never closes. |
Instances
| Show UpperBound Source # | |
Defined in Ecluse.Core.Osv.Types Methods showsPrec :: Int -> UpperBound -> ShowS # show :: UpperBound -> String # showList :: [UpperBound] -> ShowS # | |
| Eq UpperBound Source # | |
Defined in Ecluse.Core.Osv.Types | |