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

Method Content

policy/source.go:56–58  ·  view source on GitHub ↗

Content returns the embedded source snippet.

()

Source from the content-addressed store, hash-verified

54
55// Content returns the embedded source snippet.
56func (rel *RelativeSource) Content() string {
57 return rel.localSrc.Content()
58}
59
60// OffsetLocation returns the absolute location given the relative offset, if found.
61func (rel *RelativeSource) OffsetLocation(offset int32) (common.Location, bool) {

Callers

nothing calls this directly

Calls 1

ContentMethod · 0.65

Tested by

no test coverage detected