Expand description
nginx version parsing and comparison.
Supports the canonical major.minor.patch form (e.g. "1.30.1").
Used by the linter to filter rules whose declared
min_nginx_version /
max_nginx_version range
does not include the user-configured
target_nginx_version.
Structs§
- Nginx
Version - A parsed nginx version triple (
major.minor.patch).
Enums§
- Nginx
Version Parse Error - Error returned by
NginxVersion::parse.
Functions§
- format_
range - Format an optional
(min, max)nginx version pair as a human-readable range. ReturnsNonewhen both bounds are unset. - is_
in_ range - Returns true when
versionfalls within the optional inclusive bounds.