(buffer *bytes.Buffer, f FileAnnotation)
| 229 | } |
| 230 | |
| 231 | func printFileAnnotationAsJSON(buffer *bytes.Buffer, f FileAnnotation) error { |
| 232 | data, err := json.Marshal(newExternalFileAnnotation(f)) |
| 233 | if err != nil { |
| 234 | return err |
| 235 | } |
| 236 | _, _ = buffer.Write(data) |
| 237 | return nil |
| 238 | } |
| 239 | |
| 240 | func printFileAnnotationAsGithubActions(buffer *bytes.Buffer, f FileAnnotation) error { |
| 241 | if f == nil { |
nothing calls this directly
no test coverage detected
searching dependent graphs…