BuildConstraintUnaryExpression
class BuildConstraintUnaryExpression(val operatorCode: String, val expr: BuildConstraintExpression) : BuildConstraintExpression
A unary build constraint expression. Currently, only !
as operatorCode for a negation is 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.