MCPcopy
hub / github.com/perkeep/perkeep / Stop

Method Stop

pkg/test/world.go:248–259  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

246}
247
248func (w *World) Stop() {
249 if w == nil {
250 return
251 }
252 if err := w.server.Process.Kill(); err != nil {
253 log.Fatalf("killed failed: %v", err)
254 }
255
256 if d := w.tempDir; d != "" {
257 os.RemoveAll(d)
258 }
259}
260
261func (w *World) NewPermanode(t *testing.T) blob.Ref {
262 if err := w.Ping(); err != nil {

Callers

nothing calls this directly

Implementers 2

testWorldpkg/gc/gc_test.go
Worldpkg/test/world.go

Calls 2

KillMethod · 0.80
FatalfMethod · 0.65

Tested by

no test coverage detected