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

Method copy

index/regexp.go:855–857  ·  view source on GitHub ↗

copy returns a copy of the set that does not share storage with the original.

()

Source from the content-addressed store, hash-verified

853
854// copy returns a copy of the set that does not share storage with the original.
855func (s stringSet) copy() stringSet {
856 return append(stringSet{}, s...)
857}
858
859// isSubsetOf returns true if all strings in s are also in t.
860// It assumes both sets are sorted.

Callers 2

analyzeFunction · 0.80
alternateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected