VulnCheck.Types.VersionRange (VulnCheck v1.0.1)

Copy Markdown View Source

A single affected version interval.

  • introduced — first affected version (inclusive); nil or "0" means "every version since the beginning".
  • fixed — first unaffected version (exclusive upper bound).
  • last_affected — last affected version (inclusive upper bound).
  • limit — exclusive scope of the interval, without asserting a fix.

When all upper bounds are nil, the interval is open-ended.

Summary

Types

t()

@type t() :: %VulnCheck.Types.VersionRange{
  fixed: String.t() | nil,
  introduced: String.t() | nil,
  last_affected: String.t() | nil,
  limit: String.t() | nil,
  repo: String.t() | nil,
  type: :semver | :git
}