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

11 lines
360 B
Go

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 }