(items []*metadbmodel.Subnet)
| 624 | } |
| 625 | |
| 626 | func (c *Cache) AddSubnets(items []*metadbmodel.Subnet) { |
| 627 | for _, item := range items { |
| 628 | c.DiffBaseDataSet.AddSubnet(item, c.Sequence) |
| 629 | c.ToolDataSet.AddSubnet(item) |
| 630 | } |
| 631 | } |
| 632 | |
| 633 | func (c *Cache) DeleteSubnets(lcuuids []string) { |
| 634 | for _, lcuuid := range lcuuids { |
no test coverage detected