MCPcopy
hub / github.com/google/uuid / Version

Method Version

uuid.go:286–288  ·  view source on GitHub ↗

Version returns the version of uuid.

()

Source from the content-addressed store, hash-verified

284
285// Version returns the version of uuid.
286func (uuid UUID) Version() Version {
287 return Version(uuid[6] >> 4)
288}
289
290func (v Version) String() string {
291 if v > 15 {

Callers 10

TimeMethod · 0.95
TestVersion1Function · 0.95
testTestFunction · 0.80
TestRandomUUIDFunction · 0.80
TestRandomUUID_PooledFunction · 0.80
TestNewFunction · 0.80
testDCEFunction · 0.80
TestVersion6Function · 0.80
TestVersion7Function · 0.80
TestVersion7_pooledFunction · 0.80

Calls 1

VersionTypeAlias · 0.85

Tested by 9

TestVersion1Function · 0.76
testTestFunction · 0.64
TestRandomUUIDFunction · 0.64
TestRandomUUID_PooledFunction · 0.64
TestNewFunction · 0.64
testDCEFunction · 0.64
TestVersion6Function · 0.64
TestVersion7Function · 0.64
TestVersion7_pooledFunction · 0.64