(labels []string)
| 112 | } |
| 113 | |
| 114 | func newBlockLabels(labels []string) *blockLabels { |
| 115 | ret := &blockLabels{ |
| 116 | inTree: newInTree(), |
| 117 | items: newNodeSet(), |
| 118 | } |
| 119 | |
| 120 | ret.Replace(labels) |
| 121 | return ret |
| 122 | } |
| 123 | |
| 124 | func (bl *blockLabels) Replace(newLabels []string) { |
| 125 | bl.children.Clear() |
no test coverage detected