Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ Equal
Method
Equal
coderd/database/pglocks.go:38–41 ·
view source on GitHub ↗
(b PGLock)
Source
from the content-addressed store, hash-verified
36
}
37
38
func
(l PGLock) Equal(b PGLock) bool {
39
// Lazy, but hope this works
40
return
reflect.DeepEqual(l, b)
41
}
42
43
func
(l PGLock) String() string {
44
granted :=
"granted"
Callers
15
TestGetDeploymentWorkspaceAgentStats
Function · 0.45
TestGetDeploymentWorkspaceAgentUsageStats
Function · 0.45
TestGetEligibleProvisionerDaemonsByProvisionerJobIDs
Function · 0.45
TestGetProvisionerDaemonsWithStatusByOrganization
Function · 0.45
TestGetWorkspaceAgentUsageStats
Function · 0.45
TestGetAuthorizedWorkspacesAndAgentsByOwnerID
Function · 0.45
TestGetAuthorizedChats
Function · 0.45
TestGetAuthorizedChatsACLSharing
Function · 0.45
TestGetAuthorizedChatsACLSharingGroupACL
Function · 0.45
TestGetAuthorizedChatsByChatFileIDACLSharing
Function · 0.45
TestInsertWorkspaceAgentLogs
Function · 0.45
TestProxyByHostname
Function · 0.45
Calls
no outgoing calls
Tested by
15
TestGetDeploymentWorkspaceAgentStats
Function · 0.36
TestGetDeploymentWorkspaceAgentUsageStats
Function · 0.36
TestGetEligibleProvisionerDaemonsByProvisionerJobIDs
Function · 0.36
TestGetProvisionerDaemonsWithStatusByOrganization
Function · 0.36
TestGetWorkspaceAgentUsageStats
Function · 0.36
TestGetAuthorizedWorkspacesAndAgentsByOwnerID
Function · 0.36
TestGetAuthorizedChats
Function · 0.36
TestGetAuthorizedChatsACLSharing
Function · 0.36
TestGetAuthorizedChatsACLSharingGroupACL
Function · 0.36
TestGetAuthorizedChatsByChatFileIDACLSharing
Function · 0.36
TestInsertWorkspaceAgentLogs
Function · 0.36
TestProxyByHostname
Function · 0.36