func (s *tagStore) reset() {
	if len(s.store) == 0 {
		return
	}

	s.store = make(map[string]*types.Entity)
}
// reset clears the local store, preparing it to be re-initialized from a fresh
// NOTE: caller must ensure that it holds s.mutex's lock, as this func does not
// do it on its own.
reset clears the local store, preparing it to be re-initialized from a fresh
NOTE: caller must ensure that it holds s.mutex's lock, as this func does not
do it on its own.
// reset clears the local store preparing it to be re - initialized from a fresh // NOTE : caller must ensure that it holds s . mutex ' s lock as this func does not // do it on its own .
func (s *tagStore) reset() {
	if len(s.store) == 0 {
		return
	}
	s.store = make(map[string]*types.Entity)
}
func ( s * tagStore ) reset ( ) { if len ( s . store ) == 0 { return } s . store = make ( map [ string ] * types . Entity ) }
reset clears the local store, preparing it to be re-initialized from a fresh
NOTE: caller must ensure that it holds s.mutex's lock, as this func does not
do it on its own.
reset clears the local store preparing it to be re - initialized from a fresh NOTE : caller must ensure that it holds s . mutex ' s lock as this func does not do it on its own .