GetAttachmentsByReleaseID returns all attachments of a release.
(releaseID int64)
| 153 | |
| 154 | // GetAttachmentsByReleaseID returns all attachments of a release. |
| 155 | func GetAttachmentsByReleaseID(releaseID int64) ([]*Attachment, error) { |
| 156 | return getAttachmentsByReleaseID(x, releaseID) |
| 157 | } |
| 158 | |
| 159 | // DeleteAttachment deletes the given attachment and optionally the associated file. |
| 160 | func DeleteAttachment(a *Attachment, remove bool) error { |
nothing calls this directly
no test coverage detected