MCPcopy
hub / github.com/perkeep/perkeep / String

Method String

internal/closure/gendeps.go:134–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132type jsList []string
133
134func (s jsList) String() string {
135 var buf bytes.Buffer
136 buf.WriteByte('[')
137 for i, v := range s {
138 if i > 0 {
139 buf.WriteString(", ")
140 }
141 fmt.Fprintf(&buf, "%q", v)
142 }
143 buf.WriteByte(']')
144 return buf.String()
145}
146
147// Example of a match:
148// goog.addDependency('asserts/asserts.js', ['goog.asserts', 'goog.asserts.AssertionError'], ['goog.debug.Error', 'goog.string']);

Callers 15

TestLocalhostAuthIPv6Function · 0.45
TestLocalhostAuthIPv4Function · 0.45
RoundTripMethod · 0.45
RoundTripMethod · 0.45
SignRequestMethod · 0.45
stringToSignMethod · 0.45
PutObjectMethod · 0.45
finalizeMethod · 0.45
pullFunction · 0.45
resize_test.goFile · 0.45
testCompareWithResizedFunction · 0.45
SetInstanceHostnameFunction · 0.45

Calls

no outgoing calls

Tested by 5

TestLocalhostAuthIPv6Function · 0.36
TestLocalhostAuthIPv4Function · 0.36
testCompareWithResizedFunction · 0.36
runFileCmdFunction · 0.36
TestHandlerRightRefFunction · 0.36