MCPcopy Index your code
hub / github.com/gavv/httpexpect / newString

Function newString

string.go:44–46  ·  view source on GitHub ↗
(parent *chain, val string)

Source from the content-addressed store, hash-verified

42}
43
44func newString(parent *chain, val string) *String {
45 return &String{chain: parent.clone(), value: val}
46}
47
48// Raw returns underlying value attached to String.
49// This is the value originally passed to NewString.

Callers 15

StringMethod · 0.85
StringMethod · 0.85
SubmatchMethod · 0.85
NamedSubmatchMethod · 0.85
TestString_FailedChainFunction · 0.85
TestString_ConstructorsFunction · 0.85
NewStringFunction · 0.85
NewStringCFunction · 0.85
BodyMethod · 0.85
ZoneMethod · 0.85
SubprotocolMethod · 0.85
NameMethod · 0.85

Calls 1

cloneMethod · 0.45

Tested by 2

TestString_FailedChainFunction · 0.68
TestString_ConstructorsFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…