MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / SetPluginCatalog

Method SetPluginCatalog

internal/ui/components/app.go:461–463  ·  view source on GitHub ↗

SetPluginCatalog stores metadata about available plugins for later UI use.

(catalog []PluginInfo)

Source from the content-addressed store, hash-verified

459
460// SetPluginCatalog stores metadata about available plugins for later UI use.
461func (a *App) SetPluginCatalog(catalog []PluginInfo) {
462 a.pluginCatalog = append([]PluginInfo(nil), catalog...)
463}
464
465// pluginCatalogSnapshot returns a copy of the stored plugin catalog.
466func (a *App) pluginCatalogSnapshot() []PluginInfo {

Callers 1

RunAppFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected