MCPcopy
hub / github.com/Azure/aztfexport / CleanUpWorkspace

Function CleanUpWorkspace

internal/ui/aztfexportclient/client.go:130–137  ·  view source on GitHub ↗
(ctx context.Context, c meta.Meta)

Source from the content-addressed store, hash-verified

128}
129
130func CleanUpWorkspace(ctx context.Context, c meta.Meta) tea.Cmd {
131 return func() tea.Msg {
132 if err := c.CleanUpWorkspace(ctx); err != nil {
133 return ErrMsg(err)
134 }
135 return WorkspaceCleanupDoneMsg{}
136 }
137}
138
139func PushState(ctx context.Context, c meta.Meta, l meta.ImportList) tea.Cmd {
140 return func() tea.Msg {

Callers 1

UpdateMethod · 0.92

Calls 2

ErrMsgTypeAlias · 0.85
CleanUpWorkspaceMethod · 0.65

Tested by

no test coverage detected