MCPcopy Create free account
hub / github.com/driangle/taskmd / isEmptyRequest

Function isEmptyRequest

apps/cli/internal/mcp/set.go:130–140  ·  view source on GitHub ↗
(req taskfile.UpdateRequest)

Source from the content-addressed store, hash-verified

128}
129
130func isEmptyRequest(req taskfile.UpdateRequest) bool {
131 return req.Status == nil &&
132 req.Priority == nil &&
133 req.Effort == nil &&
134 req.Owner == nil &&
135 req.Tags == nil &&
136 len(req.AddTags) == 0 &&
137 len(req.RemTags) == 0 &&
138 len(req.AddPRs) == 0 &&
139 len(req.RemPRs) == 0
140}
141
142type setOutput struct {
143 TaskID string `json:"task_id"`

Callers 1

handleSetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected