(results []removeResult)
| 83 | } |
| 84 | |
| 85 | func removeOperationResults(results []removeResult) []jsonOperationResult { |
| 86 | operationResults := make([]jsonOperationResult, 0, len(results)) |
| 87 | for _, result := range results { |
| 88 | operationResults = append(operationResults, newJSONOperationResult(removeJSONStatus(result), result.Result.Type, result.Input, result.Result)) |
| 89 | } |
| 90 | return operationResults |
| 91 | } |
| 92 | |
| 93 | func removeJSONStatus(result removeResult) string { |
| 94 | if result.Input.Permanent { |
no test coverage detected