MCPcopy Index your code
hub / github.com/coder/coder / NewDeterministicUUIDGenerator

Function NewDeterministicUUIDGenerator

coderd/coderdtest/uuids.go:13–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11}
12
13func NewDeterministicUUIDGenerator() *DeterministicUUIDGenerator {
14 return &DeterministicUUIDGenerator{
15 Named: make(map[string]uuid.UUID),
16 }
17}
18
19func (d *DeterministicUUIDGenerator) ID(name string) uuid.UUID {
20 if v, ok := d.Named[name]; ok {

Callers 5

TestGroupSyncTableFunction · 0.92
TestSyncDisabledFunction · 0.92
TestApplyGroupDifferenceFunction · 0.92
TestExpectedGroupEqualFunction · 0.92

Calls

no outgoing calls

Tested by 5

TestGroupSyncTableFunction · 0.74
TestSyncDisabledFunction · 0.74
TestApplyGroupDifferenceFunction · 0.74
TestExpectedGroupEqualFunction · 0.74