Movatterモバイル変換


[0]ホーム

URL:


instances

package
v0.35.3Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License:GPL-3.0Imports:8Imported by:0

Details

Repository

github.com/arduino/arduino-cli

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcCreate

func Create(extraUserAgent ...string) (*rpc.Instance,error)

Create a new *rpc.Instance ready to be initialized, supporting directories are also created.

funcDelete

func Delete(inst *rpc.Instance)bool

Delete removes an instance.

funcGetLibraryManager

func GetLibraryManager(inst *rpc.Instance) *librariesmanager.LibrariesManager

GetLibraryManager returns the library manager for the given instance.

funcGetPackageManager

func GetPackageManager(inst *rpc.Instance) *packagemanager.PackageManager

GetPackageManager returns a PackageManager. If the package manager is not found(because the instance is invalid or has been destroyed), nil is returned.Deprecated: use GetPackageManagerExplorer instead.

funcGetPackageManagerExplorer

func GetPackageManagerExplorer(req *rpc.Instance) (explorer *packagemanager.Explorer, release func())

GetPackageManagerExplorer returns a new package manager Explorer. Theexplorer holds a read lock on the underlying PackageManager and it shouldbe released by calling the returned "release" function.

funcIsValid

func IsValid(inst *rpc.Instance)bool

IsValid returns true if the given instance is valid.

funcSetLibraryManager

func SetLibraryManager(inst *rpc.Instance, lm *librariesmanager.LibrariesManager)bool

SetLibraryManager sets the library manager for the given instance.

Types

This section is empty.

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