utils

package
v0.20.4 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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

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