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

Function registerFiles

cel/options.go:428–435  ·  view source on GitHub ↗
(reg protoTypeRegistry, files *protoregistry.Files)

Source from the content-addressed store, hash-verified

426}
427
428func registerFiles(reg protoTypeRegistry, files *protoregistry.Files) error {
429 var err error
430 files.RangeFiles(func(fd protoreflect.FileDescriptor) bool {
431 err = reg.RegisterDescriptor(fd)
432 return err == nil
433 })
434 return err
435}
436
437// JSONFieldNames supports accessing protocol buffer fields by json-name.
438//

Callers 2

TypeDescsFunction · 0.85
registerFileSetFunction · 0.85

Calls 1

RegisterDescriptorMethod · 0.65

Tested by

no test coverage detected