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

12 lines
359 B
Go
Raw Normal View History

2024-12-26 13:42:54 +00:00
package taskservice
import "code.aides.space/aides-infra/aides-repo-api/internal/models"
2024-12-26 13:42:54 +00:00
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 }