MCPcopy
hub / github.com/flosch/pongo2 / filterStringformat

Function filterStringformat

filters_builtin.go:741–743  ·  view source on GitHub ↗
(in *Value, param *Value)

Source from the content-addressed store, hash-verified

739}
740
741func filterStringformat(in *Value, param *Value) (*Value, *Error) {
742 return AsValue(fmt.Sprintf(param.String(), in.Interface())), nil
743}
744
745var reStriptags = regexp.MustCompile("<[^>]*?>")
746

Callers

nothing calls this directly

Calls 3

AsValueFunction · 0.85
InterfaceMethod · 0.80
StringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…