Versions in this module Expand all Collapse all v1 v1.31.0 Sep 5, 2026 v1.30.0 Aug 30, 2026 Changes in this version + var NonContracts = []NonContract + func MatchLocation(pattern, location string) bool + func MatchPattern(pattern string, edit Edit) (bool, error) + func NonContractReason(edit Edit) (string, bool) + type Action string + const ActionAdd + const ActionChange + const ActionDecrease + const ActionIncrease + const ActionRemove + const ActionSet + const ActionUnset + type Claim struct + Actions []Action + Pattern string + func ParseClaim(s string) (Claim, error) + func (c Claim) Matches(edit Edit) bool + type Edit struct + Action Action + Annotation bool + Extension bool + Location string + Polarity Polarity + func Edits() []Edit + type NonContract struct + Pattern string + Reason string + type Polarity string + const PolarityDocument + const PolarityRequest + const PolarityResponse + const PolarityShared