(fc feed.FileChange)
| 197 | } |
| 198 | |
| 199 | func fileStatusTag(fc feed.FileChange) string { |
| 200 | if fc.TaskStatus == "completed" { |
| 201 | return "[Completed]" |
| 202 | } |
| 203 | if fc.TaskStatus == "cancelled" { |
| 204 | return "[Cancelled]" |
| 205 | } |
| 206 | switch fc.Status { |
| 207 | case "created": |
| 208 | return "[Added]" |
| 209 | case "modified": |
| 210 | return "[Modified]" |
| 211 | case "renamed": |
| 212 | return "[Renamed]" |
| 213 | default: |
| 214 | return "[?]" |
| 215 | } |
| 216 | } |
no outgoing calls
no test coverage detected