NewFileAnnotation returns a new FileAnnotation.
( fileInfo FileInfo, startLine int, startColumn int, endLine int, endColumn int, typeString string, message string, pluginName string, policyName string, )
| 170 | |
| 171 | // NewFileAnnotation returns a new FileAnnotation. |
| 172 | func NewFileAnnotation( |
| 173 | fileInfo FileInfo, |
| 174 | startLine int, |
| 175 | startColumn int, |
| 176 | endLine int, |
| 177 | endColumn int, |
| 178 | typeString string, |
| 179 | message string, |
| 180 | pluginName string, |
| 181 | policyName string, |
| 182 | ) FileAnnotation { |
| 183 | return newFileAnnotation( |
| 184 | fileInfo, |
| 185 | startLine, |
| 186 | startColumn, |
| 187 | endLine, |
| 188 | endColumn, |
| 189 | typeString, |
| 190 | message, |
| 191 | pluginName, |
| 192 | policyName, |
| 193 | ) |
| 194 | } |
| 195 | |
| 196 | // FileAnnotationSet is a set of FileAnnotations. |
| 197 | type FileAnnotationSet interface { |
no test coverage detected
searching dependent graphs…