MCPcopy
hub / github.com/perkeep/perkeep / cleanUp

Function cleanUp

pkg/blobserver/proxycache/proxycache_test.go:38–43  ·  view source on GitHub ↗
(ds *localdisk.DiskStorage)

Source from the content-addressed store, hash-verified

36var ctxbg = context.Background()
37
38func cleanUp(ds *localdisk.DiskStorage) {
39 err := os.RemoveAll(rootDir)
40 if err != nil {
41 log.Printf("error removing cache (%s): %v", rootDir, err)
42 }
43}
44
45var (
46 epochLock sync.Mutex

Callers 3

TestEvictionFunction · 0.70
TestProxyCacheFunction · 0.70

Calls 1

PrintfMethod · 0.80

Tested by

no test coverage detected