mirror of
https://github.com/restic/restic.git
synced 2026-08-20 04:23:28 +00:00
Make Cache.Path private
It's only used inside the package.
This commit is contained in:
Vendored
+2
-2
@@ -17,7 +17,7 @@ import (
|
||||
|
||||
// Cache manages a local cache.
|
||||
type Cache struct {
|
||||
Path string
|
||||
path string
|
||||
Base string
|
||||
Created bool
|
||||
PerformReadahead func(restic.Handle) bool
|
||||
@@ -148,7 +148,7 @@ func New(id string, basedir string) (c *Cache, err error) {
|
||||
}
|
||||
|
||||
c = &Cache{
|
||||
Path: cachedir,
|
||||
path: cachedir,
|
||||
Base: basedir,
|
||||
Created: created,
|
||||
PerformReadahead: func(restic.Handle) bool {
|
||||
|
||||
Reference in New Issue
Block a user