BuildConstraintBinaryExpression

A binary build constraint expression. Currently, only && and || as operatorCode are supported.

Constructors

Link copied to clipboard
constructor(operatorCode: String, lhs: BuildConstraintExpression, rhs: BuildConstraintExpression)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun evaluate(tags: Set<String>): Boolean

Evaluates whether the current expression satisfies the set of tags. Tags can be for example the target operating system (e.g., linux), the target architecture (e.g. arm64), the Go version (e.g. go1.20) or other custom tags supplied to the build process.