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

Method Version

uuid.go:314–316  ·  uuid.go::UUID.Version

Version returns the version of uuid.

()

Source from the content-addressed store, hash-verified

312
313// Version returns the version of uuid.
314func (uuid UUID) Version() Version {
315 return Version(uuid[6] >> 4)
316}
317
318func (v Version) String() string {
319 if v > 15 {

Callers 12

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
TestNewV6WithTimeFunction · 0.80

Calls 1

VersionTypeAlias · 0.85

Tested by 11

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
TestNewV6WithTimeFunction · 0.64