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

Method union

index/regexp.go:831–835  ·  view source on GitHub ↗

union returns the union of s and t, reusing s's storage.

(t stringSet, isSuffix bool)

Source from the content-addressed store, hash-verified

829
830// union returns the union of s and t, reusing s's storage.
831func (s stringSet) union(t stringSet, isSuffix bool) stringSet {
832 s = append(s, t...)
833 s.clean(isSuffix)
834 return s
835}
836
837// cross returns the cross product of s and t.
838func (s stringSet) cross(t stringSet, isSuffix bool) stringSet {

Callers 3

andOrMethod · 0.80
concatFunction · 0.80
alternateFunction · 0.80

Calls 1

cleanMethod · 0.95

Tested by

no test coverage detected