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

Method HasChanges

internal/api/contract/tasks.go:733–744  ·  view source on GitHub ↗

HasChanges reports whether the patch includes any mutable task field.

()

Source from the content-addressed store, hash-verified

731
732// HasChanges reports whether the patch includes any mutable task field.
733func (r UpdateTaskRequest) HasChanges() bool {
734 return r.Title != nil ||
735 r.Description != nil ||
736 r.Priority != nil ||
737 r.MaxAttempts != nil ||
738 r.AutoEnqueueOnReady != nil ||
739 r.ApprovalPolicy != nil ||
740 r.Metadata != nil ||
741 r.NetworkChannel != nil ||
742 r.Owner != nil ||
743 r.ClearOwner
744}
745
746// CancelTaskRequest is the shared task-cancel request payload.
747type CancelTaskRequest struct {

Calls

no outgoing calls