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

Method UpsertChatDebugLoggingAllowUsers

coderd/database/querier.go:1382–1382  ·  view source on GitHub ↗

UpsertChatDebugLoggingAllowUsers updates the runtime admin setting that allows users to opt into chat debug logging.

(ctx context.Context, allowUsers bool)

Source from the content-addressed store, hash-verified

1380 // UpsertChatDebugLoggingAllowUsers updates the runtime admin setting that
1381 // allows users to opt into chat debug logging.
1382 UpsertChatDebugLoggingAllowUsers(ctx context.Context, allowUsers bool) error
1383 UpsertChatDebugRetentionDays(ctx context.Context, debugRetentionDays int32) error
1384 UpsertChatDesktopEnabled(ctx context.Context, enableDesktop bool) error
1385 UpsertChatDiffStatus(ctx context.Context, arg UpsertChatDiffStatusParams) (ChatDiffStatus, error)

Callers 5

putChatDebugLoggingMethod · 0.65
TestChatsMethod · 0.65
TestService_IsEnabledFunction · 0.65

Implementers 5

sqlQueriercoderd/database/db.go
queryMetricsStorecoderd/database/dbmetrics/querymetrics
queriercoderd/database/dbauthz/dbauthz.go
MockStorecoderd/database/dbmock/dbmock.go
MockStoreMockRecordercoderd/database/dbmock/dbmock.go

Calls

no outgoing calls

Tested by 2

TestChatsMethod · 0.52
TestService_IsEnabledFunction · 0.52