File tree 2 files changed +4
-1
lines changed
discovery/discoverymanager
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -438,6 +438,8 @@ func (pm *PackageManager) InstalledBoards() []*cores.Board {
438
438
return boards
439
439
}
440
440
441
+ // FindToolsRequiredFromPlatformRelease returns a list of ToolReleases needed by the specified PlatformRelease.
442
+ // If a ToolRelease is not found return an error
441
443
func (pm * PackageManager ) FindToolsRequiredFromPlatformRelease (platform * cores.PlatformRelease ) ([]* cores.ToolRelease , error ) {
442
444
pm .Log .Infof ("Searching tools required for platform %s" , platform )
443
445
Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ func (dm *DiscoveryManager) QuitAll() error {
139
139
return nil
140
140
}
141
141
142
+ // List returns a list of available ports detected from all discoveries
142
143
func (dm * DiscoveryManager ) List () []* discovery.Port {
143
144
res := []* discovery.Port {}
144
145
for _ , disc := range dm .discoveries {
@@ -151,7 +152,7 @@ func (dm *DiscoveryManager) List() []*discovery.Port {
151
152
return res
152
153
}
153
154
154
- // ListPorts return the current list of ports detected from all discoveries
155
+ // ListSync return the current list of ports detected from all discoveries
155
156
func (dm * DiscoveryManager ) ListSync () []* discovery.Port {
156
157
res := []* discovery.Port {}
157
158
for _ , disc := range dm .discoveries {
You can’t perform that action at this time.
0 commit comments