clear empties the set but preserves the storage.
()
| 844 | |
| 845 | // clear empties the set but preserves the storage. |
| 846 | func (s *stringSet) clear() { |
| 847 | *s = (*s)[:0] |
| 848 | } |
| 849 | |
| 850 | // copy returns a copy of the set that does not share storage with the original. |
| 851 | func (s stringSet) copy() stringSet { |
nothing calls this directly
no outgoing calls
no test coverage detected