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

Method GetChatFileByID

coderd/database/querier.go:378–378  ·  view source on GitHub ↗
(ctx context.Context, id uuid.UUID)

Source from the content-addressed store, hash-verified

376 GetChatDiffStatusesByChatIDs(ctx context.Context, chatIds []uuid.UUID) ([]ChatDiffStatus, error)
377 GetChatExploreModelOverride(ctx context.Context) (string, error)
378 GetChatFileByID(ctx context.Context, id uuid.UUID) (ChatFile, error)
379 // GetChatFileMetadataByChatID returns lightweight file metadata for
380 // all files linked to a chat. The data column is excluded to avoid
381 // loading file content.

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