MCPcopy Create free account
hub / github.com/compozy/agh / rollbackDeleteWorkspace

Method rollbackDeleteWorkspace

internal/workspace/resolver.go:251–256  ·  view source on GitHub ↗
(ctx context.Context, workspaceID string)

Source from the content-addressed store, hash-verified

249}
250
251func (r *Resolver) rollbackDeleteWorkspace(ctx context.Context, workspaceID string) error {
252 rollbackCtx, cancel := context.WithTimeout(context.WithoutCancel(ctx), rollbackDeleteTimeout)
253 defer cancel()
254
255 return r.store.DeleteWorkspace(rollbackCtx, workspaceID)
256}
257
258// Invalidate deletes one workspace snapshot from the in-memory cache.
259func (r *Resolver) Invalidate(workspaceID string) {

Callers 2

RegisterMethod · 0.95
ResolveOrRegisterMethod · 0.95

Calls 1

DeleteWorkspaceMethod · 0.65

Tested by

no test coverage detected