MCPcopy
hub / github.com/kopia/kopia / Close

Method Close

internal/diff/diff.go:70–73  ·  view source on GitHub ↗

Close removes all temporary files used by the comparer.

()

Source from the content-addressed store, hash-verified

68
69// Close removes all temporary files used by the comparer.
70func (c *Comparer) Close() error {
71 //nolint:wrapcheck
72 return os.RemoveAll(c.tmpDir)
73}
74
75func maybeOID(e fs.Entry) string {
76 if h, ok := e.(object.HasObjectID); ok {

Calls 1

RemoveAllMethod · 0.45