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

Method selectWorkspace

coderd/x/chatd/chatd.go:714–717  ·  view source on GitHub ↗
(chat database.Chat)

Source from the content-addressed store, hash-verified

712}
713
714func (c *turnWorkspaceContext) selectWorkspace(chat database.Chat) {
715 c.setCurrentChat(chat)
716 c.clearCachedWorkspaceState()
717}
718
719func (c *turnWorkspaceContext) currentWorkspaceMatches(expected uuid.NullUUID) (database.Chat, bool) {
720 chatSnapshot := c.currentChatSnapshot()

Calls 2

setCurrentChatMethod · 0.95