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

Method SourceID

policy/compiler.go:41–43  ·  view source on GitHub ↗

SourceID returns the source metadata identifier associated with the compiled rule.

()

Source from the content-addressed store, hash-verified

39
40// SourceID returns the source metadata identifier associated with the compiled rule.
41func (r *CompiledRule) SourceID() int64 {
42 return r.exprID
43}
44
45// ID returns the expression id associated with the rule.
46func (r *CompiledRule) ID() *ValueString {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected