MCPcopy Create free account
hub / github.com/Permify/permify / ValidateAll

Method ValidateAll

pkg/pb/base/v1/base.pb.validate.go:463–465  ·  view source on GitHub ↗

ValidateAll checks the field values on Leaf with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LeafMultiError, or nil if none found.

()

Source from the content-addressed store, hash-verified

461// proto definition for this message. If any rules are violated, the result is
462// a list of violation errors wrapped in LeafMultiError, or nil if none found.
463func (m *Leaf) ValidateAll() error {
464 return m.validate(true)
465}
466
467func (m *Leaf) validate(all bool) error {
468 if m == nil {

Callers 15

validateMethod · 0.45
validateMethod · 0.45
validateMethod · 0.45
validateMethod · 0.45
validateMethod · 0.45
validateMethod · 0.45
validateMethod · 0.45
validateMethod · 0.45
validateMethod · 0.45
validateMethod · 0.45
validateMethod · 0.45
validateMethod · 0.45

Calls 1

validateMethod · 0.95

Tested by

no test coverage detected