metadata

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package metadata defines a metadata struct for Asdf Tools.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	ToolName    string
	ToolVersion string
}

Metadata holds parsing information for an Asdf tool.

func ToStruct

func ToStruct(m *pb.AsdfMetadata) *Metadata

ToStruct converts the AsdfMetadata proto to a Metadata struct.

func (*Metadata) SetProto

func (m *Metadata) SetProto(p *pb.Package)

SetProto sets the AsdfMetadata field in the Package proto.

Jump to

Keyboard shortcuts

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