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

Struct FileExpression

tools/compiler/compiler.go:485–487  ·  view source on GitHub ↗

FileExpression is an InputExpression which loads a CEL expression or policy from a file.

Source from the content-addressed store, hash-verified

483
484// FileExpression is an InputExpression which loads a CEL expression or policy from a file.
485type FileExpression struct {
486 Path string
487}
488
489// CreateAST creates a CEL AST from a file using the provided compiler:
490// - All policy metadata options are executed using the policy metadata map to extend the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected