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

Method String

index/regexp.go:713–726  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

711}
712
713func (info regexpInfo) String() string {
714 s := ""
715 if info.canEmpty {
716 s += "canempty "
717 }
718 if info.exact.have() {
719 s += "exact:" + strings.Join(info.exact, ",")
720 } else {
721 s += "prefix:" + strings.Join(info.prefix, ",")
722 s += " suffix:" + strings.Join(info.suffix, ",")
723 }
724 s += " match: " + info.match.String()
725 return s
726}
727
728// A stringSet is a set of strings.
729// The nil stringSet indicates not having a set.

Callers

nothing calls this directly

Calls 2

haveMethod · 0.80
StringMethod · 0.45

Tested by

no test coverage detected