BuildConstraintUnaryExpression

A unary build constraint expression. Currently, only ! as operatorCode for a negation is supported.

Constructors

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

Properties

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.