Function
isEmptyRequest
(req taskfile.UpdateRequest)
Source from the content-addressed store, hash-verified
| 128 | } |
| 129 | |
| 130 | func 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 | |
| 142 | type setOutput struct { |
| 143 | TaskID string `json:"task_id"` |
Tested by
no test coverage detected