Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3a7e58d

Browse files
committed
Added Category field to Platform gRPC struct
1 parent aa41d72 commit 3a7e58d

File tree

3 files changed

+36
-22
lines changed

3 files changed

+36
-22
lines changed

‎commands/core.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ func PlatformReleaseToRPC(platformRelease *cores.PlatformRelease) *rpc.Platform
6060
Latest: platformRelease.Version.String(),
6161
ManuallyInstalled: platformRelease.Platform.ManuallyInstalled,
6262
Deprecated: platformRelease.Platform.Deprecated,
63+
Category: platformRelease.Platform.Category,
6364
}
6465

6566
return result

‎rpc/cc/arduino/cli/commands/v1/common.pb.go‎

Lines changed: 33 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎rpc/cc/arduino/cli/commands/v1/common.proto‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ message Platform {
8080
bool manually_installed = 9;
8181
// If true this Platform has been deprecated
8282
bool deprecated = 10;
83+
// Category of the platform.
84+
string category = 11;
8385
}
8486

8587
message InstalledPlatformReference {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /