MCPcopy
hub / github.com/kubernetes/client-go / newText

Function newText

util/jsonpath/node.go:92–94  ·  view source on GitHub ↗
(text string)

Source from the content-addressed store, hash-verified

90}
91
92func newText(text string) *TextNode {
93 return &TextNode{NodeType: NodeText, Text: text}
94}
95
96func (t *TextNode) String() string {
97 return fmt.Sprintf("%s: %s", t.Type(), t.Text)

Callers 3

parser_test.goFile · 0.85
parseTextMethod · 0.85
parseQuoteMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected