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

Method advisorConfigGenerationSnapshot

coderd/x/chatd/configcache.go:500–505  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

498}
499
500func (c *chatConfigCache) advisorConfigGenerationSnapshot() uint64 {
501 c.mu.RLock()
502 generation := c.advisorConfigGeneration
503 c.mu.RUnlock()
504 return generation
505}
506
507func (c *chatConfigCache) storeAdvisorConfig(generation uint64, config codersdk.AdvisorConfig) {
508 c.mu.Lock()

Callers 1

AdvisorConfigMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected