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

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