1
0

feat: implement list of available distros

This commit is contained in:
2023-05-18 22:02:41 +00:00
parent 9c237b52db
commit f0c82f9289
7 changed files with 45 additions and 2 deletions

View File

@ -34,6 +34,10 @@ func (centos CentOS) ID() distro.ID {
return distro.CentOS
}
func (centos CentOS) Release() string {
return centos.release
}
func (centos CentOS) Equal(d distro.Distro) bool {
return centos.release == d.Release && distro.CentOS == d.ID
}