Skip to content

Commit eb2a61d

Browse files
committedMar 13, 2024
Moved a batch of function from commands/* subpackage to commands
This commit is preparatory to move all the implementation of ArduinoCoreService interface directly as methods of ArduinoCoreService. The goal is to turn ArduinoCoreService into a proper implementation instead of being a mere proxy to global functions.
1 parent fd1c4c4 commit eb2a61d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+140
-158
lines changed
 

‎commands/instances.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ import (
4343
"google.golang.org/grpc/status"
4444
)
4545

46-
var tr = i18n.Tr
47-
4846
func installTool(pm *packagemanager.PackageManager, tool *cores.ToolRelease, downloadCB rpc.DownloadProgressCB, taskCB rpc.TaskProgressCB) error {
4947
pme, release := pm.NewExplorer()
5048
defer release()

‎commands/lib/search_matcher.go renamed to ‎commands/libraries_index_search_matcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// Arduino software without disclosing the source code of your own applications.
1414
// To purchase a commercial license, send an email to license@arduino.cc.
1515

16-
package lib
16+
package commands
1717

1818
import (
1919
"strings"

0 commit comments

Comments
 (0)