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

Method ID

coderd/coderdtest/uuids.go:19–25  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

17}
18
19func (d *DeterministicUUIDGenerator) ID(name string) uuid.UUID {
20 if v, ok := d.Named[name]; ok {
21 return v
22 }
23 d.Named[name] = uuid.New()
24 return d.Named[name]
25}

Callers 5

TestGroupSyncTableFunction · 0.95
TestSyncDisabledFunction · 0.95
TestApplyGroupDifferenceFunction · 0.95
TestExpectedGroupEqualFunction · 0.95

Calls 1

NewMethod · 0.65

Tested by 5

TestGroupSyncTableFunction · 0.76
TestSyncDisabledFunction · 0.76
TestApplyGroupDifferenceFunction · 0.76
TestExpectedGroupEqualFunction · 0.76