metadata

package
v0.3.5 Latest Latest
Warning

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

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

Documentation

Overview

Package metadata defines a metadata struct for NVM Node.js versions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	NodeJsVersion string
}

Metadata holds parsing information for an NVM Node.js version.

func ToStruct

func ToStruct(m *pb.NvmMetadata) *Metadata

ToStruct converts the NvmMetadata proto to a Metadata struct.

func (*Metadata) SetProto

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

SetProto sets the NvmMetadata field in the Package proto.

Jump to

Keyboard shortcuts

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