MCPcopy Index your code
hub / github.com/kopia/kopia / cleanComponents

Method cleanComponents

tests/robustness/engine/engine.go:182–188  ·  view source on GitHub ↗

cleanComponents cleans up each component part of the test engine.

()

Source from the content-addressed store, hash-verified

180
181// cleanComponents cleans up each component part of the test engine.
182func (e *Engine) cleanComponents() {
183 for _, f := range e.cleanupRoutines {
184 if f != nil {
185 f()
186 }
187 }
188}
189
190// Init initializes the Engine and performs a consistency check.
191func (e *Engine) Init(ctx context.Context) error {

Callers 3

ShutdownMethod · 0.95
NewFunction · 0.80
TestDataPersistencyFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestDataPersistencyFunction · 0.64