Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ IsPrimary
Method
IsPrimary
coderd/database/modelmethods.go:602–604 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
600
}
601
602
func
(w WorkspaceProxy) IsPrimary() bool {
603
return
w.Name ==
"primary"
604
}
605
606
func
(f File) RBACObject() rbac.Object {
607
return
rbac.ResourceFile.
Callers
2
deleteWorkspaceProxy
Method · 0.80
convertProxy
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected