mirror of
https://github.com/kopia/kopia.git
synced 2026-10-20 05:14:00 -04:00
trivial: move CachingOptions out of content.Manager, where it's not needed (#775)
* trivial: move CachingOptions out of content.Manager, where it's not needed * trivial: removed newManagerWithOptions which was the same as NewManager also moved one-time initialization to newReadManager()
This commit is contained in:
1 parent
8e17edcdf6
commit
73a34ff7ff
10 files changed
+30
-34
No files matched your search
@@ -19,7 +19,7 @@ var (
|
||||
)
|
||||
|
||||
func runCacheSetCommand(ctx context.Context, rep *repo.DirectRepository) error {
|
||||
opts := rep.Content.CachingOptions.CloneOrDefault()
|
||||
opts := rep.Cache.CloneOrDefault()
|
||||
|
||||
changed := 0
|
||||
|
||||
|
||||
Reference in new issue
Block a user