Merge "export common bp2build testing functions"

This commit is contained in:
Liz Kammer
2022-08-04 18:11:16 +00:00
committed by Gerrit Code Review
31 changed files with 1990 additions and 1986 deletions

View File

@@ -94,6 +94,10 @@ func (ll *LabelList) IsNil() bool {
return ll.Includes == nil && ll.Excludes == nil
}
func (ll *LabelList) IsEmpty() bool {
return len(ll.Includes) == 0 && len(ll.Excludes) == 0
}
func (ll *LabelList) deepCopy() LabelList {
return LabelList{
Includes: ll.Includes[:],