BuildConstraintBinaryExpression
class BuildConstraintBinaryExpression(val operatorCode: String, val lhs: BuildConstraintExpression, val rhs: BuildConstraintExpression) : BuildConstraintExpression
A binary build constraint expression. Currently, only &&
and ||
as operatorCode are supported.
Functions
Link copied to clipboard
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.