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

Method Arg

ext/formatting_v2.go:534–540  ·  view source on GitHub ↗

Arg implements formatListArgs.Arg.

(index int64)

Source from the content-addressed store, hash-verified

532
533// Arg implements formatListArgs.Arg.
534func (c *stringFormatCheckerV2) Arg(index int64) (ref.Val, error) {
535 c.argsRequested++
536 c.currArgIndex = index
537 // return a dummy value - this is immediately passed to back to us
538 // through one of the FormatCallback functions, so anything will do
539 return types.Int(0), nil
540}
541
542// Size implements formatListArgs.Size.
543func (c *stringFormatCheckerV2) Size() int64 {

Callers

nothing calls this directly

Calls 1

IntTypeAlias · 0.92

Tested by

no test coverage detected