MCPcopy Create free account
hub / github.com/cel-expr/cel-go / formatStringV2

Function formatStringV2

ext/formatting_v2.go:188–194  ·  view source on GitHub ↗
(arg ref.Val)

Source from the content-addressed store, hash-verified

186}
187
188func formatStringV2(arg ref.Val) (string, error) {
189 var fmter appendingFormatterV2
190 if err := fmter.format(arg); err != nil {
191 return "", err
192 }
193 return string(fmter.buf), nil
194}
195
196type stringFormatterV2 struct{}
197

Callers 2

formatMethod · 0.85
StringMethod · 0.85

Calls 1

formatMethod · 0.95

Tested by

no test coverage detected