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

Method currentWorkspaceMatches

coderd/x/chatd/chatd.go:719–722  ·  view source on GitHub ↗
(expected uuid.NullUUID)

Source from the content-addressed store, hash-verified

717}
718
719func (c *turnWorkspaceContext) currentWorkspaceMatches(expected uuid.NullUUID) (database.Chat, bool) {
720 chatSnapshot := c.currentChatSnapshot()
721 return chatSnapshot, nullUUIDEqual(chatSnapshot.WorkspaceID, expected)
722}
723
724func nullUUIDEqual(left, right uuid.NullUUID) bool {
725 if left.Valid != right.Valid {

Callers 3

getWorkspaceConnMethod · 0.95

Calls 2

currentChatSnapshotMethod · 0.95
nullUUIDEqualFunction · 0.85

Tested by

no test coverage detected