MCPcopy Create free account
hub / github.com/Masterminds/semver / Original

Method Original

version.go:355–357  ·  view source on GitHub ↗

Original returns the original value passed in to be parsed.

()

Source from the content-addressed store, hash-verified

353
354// Original returns the original value passed in to be parsed.
355func (v *Version) Original() string {
356 return v.original
357}
358
359// Major returns the major version.
360func (v Version) Major() uint64 {

Callers 4

TestOriginalFunction · 0.95
TestIncFunction · 0.95
TestSetPrereleaseFunction · 0.80
TestSetMetadataFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestOriginalFunction · 0.76
TestIncFunction · 0.76
TestSetPrereleaseFunction · 0.64
TestSetMetadataFunction · 0.64