Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assertion ¶
type Assertion struct {
Path pathsyntax.Path
Operator OpType
Value string // raw YAML value string for comparison (empty for exists/not exists)
}
Assertion represents a parsed assertion expression.
func ParseAssertion ¶
ParseAssertion parses an assertion expression string. Format: "<path> <operator> [<value>]" Examples:
".title exists" ".count >= 3" ".tags contains \"go\"" ".draft == false" ".title not exists"
Click to show internal directories.
Click to hide internal directories.