Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
19
func
(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
TestGroupSyncTable
Function · 0.95
TestSyncDisabled
Function · 0.95
TestApplyGroupDifference
Function · 0.95
TestExpectedGroupEqual
Function · 0.95
TestDeterministicUUIDGenerator
Function · 0.95
Calls
1
New
Method · 0.65
Tested by
5
TestGroupSyncTable
Function · 0.76
TestSyncDisabled
Function · 0.76
TestApplyGroupDifference
Function · 0.76
TestExpectedGroupEqual
Function · 0.76
TestDeterministicUUIDGenerator
Function · 0.76