MCPcopy 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
602func (w WorkspaceProxy) IsPrimary() bool {
603 return w.Name == "primary"
604}
605
606func (f File) RBACObject() rbac.Object {
607 return rbac.ResourceFile.

Callers 2

deleteWorkspaceProxyMethod · 0.80
convertProxyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected