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

Method RelSource

policy/compiler.go:220–222  ·  view source on GitHub ↗

RelSource exposes the compiler's relative source function.

(pstr ValueString)

Source from the content-addressed store, hash-verified

218
219// RelSource exposes the compiler's relative source function.
220func (mc *matchCompilerImpl) RelSource(pstr ValueString) *RelativeSource {
221 return mc.c.relSource(pstr)
222}
223
224// ReportErrorAtID exposes the issue reporter for the match compiler.
225func (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