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

Method Validate

common/env/env.go:496–499  ·  view source on GitHub ↗

Validate validates the extension configuration is well-formed.

()

Source from the content-addressed store, hash-verified

494
495// Validate validates the extension configuration is well-formed.
496func (e *Extension) Validate() error {
497 _, err := e.VersionNumber()
498 return err
499}
500
501// VersionNumber returns the parsed version string, or an error if the version cannot be parsed.
502func (e *Extension) VersionNumber() (uint32, error) {

Callers

nothing calls this directly

Calls 1

VersionNumberMethod · 0.95

Tested by

no test coverage detected