metadata

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encode

func Encode(info Info, installDir string) (json.RawMessage, error)

Encode creates an artifact metadata file.

Types

type Info

type Info struct {
	Metadata string
	Deps     []module.Version
}

Info contains artifact metadata and its dependencies.

func Decode

func Decode(data []byte, installDir string) (Info, error)

Decode reads an artifact metadata file.

Jump to

Keyboard shortcuts

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