mirror of
https://github.com/restic/restic.git
synced 2026-07-05 14:55:10 +00:00
Automatically exclude current restic cache
This commit is contained in:
Vendored
+5
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user