MCPcopy Create free account
hub / github.com/devspace-sh/devspace / Metadata

Method Metadata

pkg/util/constraint/version.go:321–323  ·  view source on GitHub ↗

Metadata returns any metadata that was part of the version string. Metadata is anything that comes after the "+" in the version. For example, with "1.2.3+beta", the metadata is "beta".

()

Source from the content-addressed store, hash-verified

319// Metadata is anything that comes after the "+" in the version.
320// For example, with "1.2.3+beta", the metadata is "beta".
321func (v *Version) Metadata() string {
322 return v.metadata
323}
324
325// Prerelease returns any prerelease data that is part of the version,
326// or blank if there is no prerelease data.

Callers 1

TestVersionMetadataFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestVersionMetadataFunction · 0.76