Automatically exclude current restic cache

This commit is contained in:
Alexander Neumann committed 2017-09-24 21:54:53 +02:00
1 parent 58699e3c90
commit 610b676444
4 files changed
+43

No files matched your search

+5
View File
@@ -152,3 +152,8 @@ func (c *Cache) Wrap(be restic.Backend) restic.Backend {
Cache: c,
}
}
// BaseDir returns the base directory.
func (c *Cache) BaseDir() string {
return c.Base
}