utils

package
v0.33.3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPluginId

func GetPluginId(archiveDir string) (string, error)

GetPluginId returns the plugin id from the plugin.json file in the archive directory

The plugin.json file might not be in the root directory at this point in the validator there's no certainty that the plugin.json file even exists

func GetPluginMetadata added in v0.29.0

func GetPluginMetadata(archiveDir string) (*metadata.Metadata, error)

GetPluginMetadata returns the full plugin metadata from the plugin.json file

Types

type BarebonePluginJson

type BarebonePluginJson struct {
	Id string `json:"id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL