aides-repo-api/internal/services/taskservice/utils.go

12 lines
360 B
Go
Raw Normal View History

2024-12-26 13:42:54 +00:00
package taskservice
import "code.alt-gnome.ru/aides-infra/aides-repo-api/internal/models"
type WrapperRpmVersion struct {
file *models.RPMFile
}
func (c *WrapperRpmVersion) Epoch() int { return c.file.Epoch }
func (c *WrapperRpmVersion) Version() string { return c.file.Version }
func (c *WrapperRpmVersion) Release() string { return c.file.Release }