MCPcopy Index your code
hub / github.com/google/codesearch / add

Method add

index/regexp.go:775–777  ·  view source on GitHub ↗

add adds str to the set.

(str string)

Source from the content-addressed store, hash-verified

773
774// add adds str to the set.
775func (s *stringSet) add(str string) {
776 *s = append(*s, str)
777}
778
779// clean removes duplicates from the stringSet.
780func (s *stringSet) clean(isSuffix bool) {

Callers 4

andTrigramsMethod · 0.95
crossMethod · 0.95
analyzeFunction · 0.45
simplifyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected