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

Method String

coderd/rbac/roles.go:101–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99}
100
101func (r RoleIdentifier) String() string {
102 if r.OrganizationID != uuid.Nil {
103 return r.Name + ":" + r.OrganizationID.String()
104 }
105 return r.Name
106}
107
108func (r RoleIdentifier) UniqueName() string {
109 return r.String()

Callers 4

UniqueNameMethod · 0.95
MarshalJSONMethod · 0.95
ReloadBuiltinRolesFunction · 0.45
RoleByNameFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected