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

Method Patch

version.go:370–372  ·  view source on GitHub ↗

Patch returns the patch version.

()

Source from the content-addressed store, hash-verified

368
369// Patch returns the patch version.
370func (v Version) Patch() uint64 {
371 return v.patch
372}
373
374// Prerelease returns the pre-release version.
375func (v Version) Prerelease() string {

Callers 5

TestPartsFunction · 0.95
CompareMethod · 0.95
constraintNotEqualFunction · 0.80
constraintTildeFunction · 0.80
constraintCaretFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestPartsFunction · 0.76