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

Function stringFixedTransformCostModel

ext/strings.go:925–930  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

923}
924
925func stringFixedTransformCostModel(id string) cost.OverloadModel {
926 return cost.MemberOverload(id,
927 stringTransformEvalCost(),
928 cost.ResultSize(cost.Target()),
929 )
930}
931
932func stringTrimCostModel(id string) cost.OverloadModel {
933 return cost.MemberOverload(id,

Callers 1

CompileOptionsMethod · 0.85

Calls 4

MemberOverloadFunction · 0.92
ResultSizeFunction · 0.92
TargetFunction · 0.92
stringTransformEvalCostFunction · 0.85

Tested by

no test coverage detected