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

Method UnfavoriteWorkspace

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

Source from the content-addressed store, hash-verified

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
1177 // re-authenticate under a new OIDC provider.

Callers 5

UnfavoriteWorkspaceMethod · 0.65
TestWorkspaceMethod · 0.65
unfavoriteMethod · 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

TestWorkspaceMethod · 0.52