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

Method RelSource

policy/compiler.go:234–236  ·  view source on GitHub ↗

RelSource exposes the compiler's relative source function.

(pstr ValueString)

Source from the content-addressed store, hash-verified

232
233// RelSource exposes the compiler's relative source function.
234func (mc *matchCompilerImpl) RelSource(pstr ValueString) *RelativeSource {
235 return mc.c.relSource(pstr)
236}
237
238// ReportErrorAtID exposes the issue reporter for the match compiler.
239func (mc *matchCompilerImpl) ReportErrorAtID(id int64, message string, args ...any) {

Callers

nothing calls this directly

Calls 1

relSourceMethod · 0.80

Tested by

no test coverage detected