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

Method Validate

internal/task/validate.go:856–858  ·  view source on GitHub ↗

Validate reports whether the task-cancellation request is internally consistent.

(path string)

Source from the content-addressed store, hash-verified

854
855// Validate reports whether the task-cancellation request is internally consistent.
856func (r CancelTask) Validate(path string) error {
857 return ValidatePayloadSize(r.Metadata, nestedPath(path, "metadata"))
858}
859
860// Validate reports whether the dependency-create request is internally consistent.
861func (r AddDependency) Validate(path string) error {

Callers 2

cancelTaskFromRequestFunction · 0.95
cancelTaskFromRequestFunction · 0.95

Calls 2

ValidatePayloadSizeFunction · 0.85
nestedPathFunction · 0.70

Tested by

no test coverage detected