(obj Obj)
| 216 | } |
| 217 | |
| 218 | func (om *ObjMerge) clickObj(obj Obj) bool { |
| 219 | for _, reg := range om.regs { |
| 220 | if isMatch, _ := reg.MatchString(obj.GetName()); isMatch { |
| 221 | return false |
| 222 | } |
| 223 | } |
| 224 | return om.set.Add(obj.GetName()) |
| 225 | } |
| 226 | |
| 227 | func (om *ObjMerge) InitHideReg(hides string) { |
| 228 | rs := strings.Split(hides, "\n") |
no test coverage detected