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

Method Store

coderd/x/chatd/chatd.go:6435–6443  ·  view source on GitHub ↗
(title string)

Source from the content-addressed store, hash-verified

6433}
6434
6435func (t *generatedChatTitle) Store(title string) {
6436 if t == nil || title == "" {
6437 return
6438 }
6439
6440 t.mu.Lock()
6441 t.title = title
6442 t.mu.Unlock()
6443}
6444
6445func (t *generatedChatTitle) Load() (string, bool) {
6446 if t == nil {

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45