MCPcopy Create free account
hub / github.com/canopyclimate/golive / Copy

Method Copy

internal/text/template/parse/node.go:805–807  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

803}
804
805func (s *StringNode) Copy() Node {
806 return s.tr.newString(s.Pos, s.Quoted, s.Text)
807}
808
809// endNode represents an {{end}} action.
810// It does not appear in the final parse tree.

Callers

nothing calls this directly

Calls 1

newStringMethod · 0.80

Tested by

no test coverage detected