Commit 4e01c303 authored by Cristian Maglie's avatar Cristian Maglie

Removed unused function

parent 61aa8cc1
...@@ -74,12 +74,6 @@ func (alts *LibraryAlternatives) Add(library *libraries.Library) { ...@@ -74,12 +74,6 @@ func (alts *LibraryAlternatives) Add(library *libraries.Library) {
alts.Alternatives = append(alts.Alternatives, library) alts.Alternatives = append(alts.Alternatives, library)
} }
// Select returns the library with the highest priority between the alternatives
func (alts *LibraryAlternatives) Select() *libraries.Library {
// TODO
return alts.Alternatives[len(alts.Alternatives)-1]
}
// Names returns an array with all the names of the installed libraries. // Names returns an array with all the names of the installed libraries.
func (sc LibrariesManager) Names() []string { func (sc LibrariesManager) Names() []string {
res := make([]string, len(sc.Libraries)) res := make([]string, len(sc.Libraries))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment