pruning: add 'Negate' option to KeepRegex and expose it in config
This commit is contained in:
@@ -179,7 +179,7 @@ func TestPruner_Prune(t *testing.T) {
|
||||
},
|
||||
}
|
||||
|
||||
keepRules := []pruning.KeepRule{pruning.MustKeepRegex("^keep")}
|
||||
keepRules := []pruning.KeepRule{pruning.MustKeepRegex("^keep", false)}
|
||||
|
||||
p := Pruner{
|
||||
args: args{
|
||||
|
||||
Reference in New Issue
Block a user