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

Method CleanUpWorkspace

internal/meta/base_meta.go:83–83  ·  view source on GitHub ↗

CleanUpWorkspace is a weired method that is only meant to be used internally by aztfexport, which under the hood will remove everything in the output directory, except the generated TF config. This method does nothing if HCLOnly in the Config is not set.

(ctx context.Context)

Source from the content-addressed store, hash-verified

81 // CleanUpWorkspace is a weired method that is only meant to be used internally by aztfexport, which under the hood will remove everything in the output directory, except the generated TF config.
82 // This method does nothing if HCLOnly in the Config is not set.
83 CleanUpWorkspace(ctx context.Context) error
84
85 SetPreImportHook(config.ImportCallback)
86 SetPostImportHook(config.ImportCallback)

Callers 2

BatchImportFunction · 0.65
CleanUpWorkspaceFunction · 0.65

Implementers 2

baseMetainternal/meta/base_meta.go
MetaGroupDummyinternal/meta/meta_dummy.go

Calls

no outgoing calls

Tested by

no test coverage detected