MCPcopy Create free account
hub / github.com/compozy/agh / Validate

Method Validate

internal/task/validate.go:730–735  ·  view source on GitHub ↗

Validate reports whether the boot-recovery request contains one supported recovery action.

(path string)

Source from the content-addressed store, hash-verified

728// Validate reports whether the boot-recovery request contains one supported
729// recovery action.
730func (r RunBootRecovery) Validate(path string) error {
731 if err := r.Action.Validate(nestedPath(path, "action")); err != nil {
732 return err
733 }
734 return nil
735}
736
737// Validate reports whether the audit event contains the canonical persisted shape.
738func (e Event) Validate() error {

Callers

nothing calls this directly

Calls 2

nestedPathFunction · 0.70
ValidateMethod · 0.65

Tested by

no test coverage detected