Movatterモバイル変換


[0]ホーム

URL:


packageindex

package
v1.3.1Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2025 License:GPL-3.0Imports:13Imported by:0

Details

Repository

github.com/arduino/arduino-cli

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

typeIndex

type Index struct {Packages  []*indexPackage `json:"packages"`IsTrustedbool// contains filtered or unexported fields}

Index represents Cores and Tools struct as seen from package_index.json file.

funcIndexFromPlatformRelease

func IndexFromPlatformRelease(pr *cores.PlatformRelease)Index

IndexFromPlatformRelease creates an Index that contains a single indexPackagewhich in turn contains a single indexPlatformRelease converted from the onepassed as argument

funcLoadIndex

func LoadIndex(jsonIndexFile *paths.Path) (*Index,error)

LoadIndex reads a package_index.json from a file and returns the corresponding Index structure.

funcLoadIndexNoSign

func LoadIndexNoSign(jsonIndexFile *paths.Path) (*Index,error)

LoadIndexNoSign reads a package_index.json from a file and returns the corresponding Index structure.

func (Index)MarshalEasyJSON

func (vIndex) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Index)MarshalJSON

func (vIndex) MarshalJSON() ([]byte,error)

MarshalJSON supports json.Marshaler interface

func (Index)MergeIntoPackages

func (indexIndex) MergeIntoPackages(outPackagescores.Packages)

MergeIntoPackages converts the Index data into a cores.Packages and merge themwith the existing contents of the cores.Packages passed as parameter.

func (*Index)UnmarshalEasyJSON

func (v *Index) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Index)UnmarshalJSON

func (v *Index) UnmarshalJSON(data []byte)error

UnmarshalJSON supports json.Unmarshaler interface

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp