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

Method UnarchiveTemplateVersion

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

This will always work regardless of the current state of the template version.

(ctx context.Context, arg UnarchiveTemplateVersionParams)

Source from the content-addressed store, hash-verified

1171 UnarchiveChatByID(ctx context.Context, id uuid.UUID) ([]Chat, error)
1172 // This will always work regardless of the current state of the template version.
1173 UnarchiveTemplateVersion(ctx context.Context, arg UnarchiveTemplateVersionParams) error
1174 UnfavoriteWorkspace(ctx context.Context, id uuid.UUID) error
1175 // Resets linked_id to '' for OIDC links where the linked_id is non-empty
1176 // and does not begin with the expected issuer prefix. This allows users to

Callers 4

TestProvisionerJobMethod · 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 1

TestProvisionerJobMethod · 0.52