Skip to content

Commit 389aaed

Browse files
committed
fix link
1 parent 46fbb34 commit 389aaed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

v2/pkgs/pkgs.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ type System struct {
5050
Checksum string `json:"checksum"`
5151
}
5252

53-
// Source: https://github.com/arduino/arduino-cli/blob/master/arduino/cores/tools.go#L129-L142
53+
// Source: https://github.com/arduino/arduino-cli/blob/master/internal/arduino/cores/tools.go#L129-L142
5454
var (
5555
regexpLinuxArm = regexp.MustCompile("arm.*-linux-gnueabihf")
5656
regexpLinuxArm64 = regexp.MustCompile("(aarch64|arm64)-linux-gnu")
@@ -66,7 +66,7 @@ var (
6666
regexpFreeBSD64 = regexp.MustCompile("amd64-freebsd[0-9]*")
6767
)
6868

69-
// Source: https://github.com/arduino/arduino-cli/blob/master/arduino/cores/tools.go#L144-L176
69+
// Source: https://github.com/arduino/arduino-cli/blob/master/internal/arduino/cores/tools.go#L144-L176
7070
func (s *System) isExactMatchWith(osName, osArch string) bool {
7171
if s.Host == "all" {
7272
return true
@@ -101,7 +101,7 @@ func (s *System) isExactMatchWith(osName, osArch string) bool {
101101
return false
102102
}
103103

104-
// Source: https://github.com/arduino/arduino-cli/blob/master/arduino/cores/tools.go#L178-L198
104+
// Source: https://github.com/arduino/arduino-cli/blob/master/internal/arduino/cores/tools.go#L178-L198
105105
func (s *System) isCompatibleWith(osName, osArch string) (bool, int) {
106106
if s.isExactMatchWith(osName, osArch) {
107107
return true, 1000
@@ -125,7 +125,7 @@ func (s *System) isCompatibleWith(osName, osArch string) (bool, int) {
125125
}
126126

127127
// GetFlavourCompatibleWith returns the downloadable resource (System) compatible with the specified OS/Arch
128-
// Source: https://github.com/arduino/arduino-cli/blob/master/arduino/cores/tools.go#L206-L216
128+
// Source: https://github.com/arduino/arduino-cli/blob/master/internal/arduino/cores/tools.go#L206-L216
129129
func (t *Tool) GetFlavourCompatibleWith(osName, osArch string) System {
130130
var correctSystem System
131131
maxSimilarity := -1

0 commit comments

Comments
 (0)