mirror of
https://github.com/restic/restic.git
synced 2026-08-31 17:57:13 +00:00
fuse: Only reload list of snapshots once per minute
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
package fuse
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/restic/restic/internal/debug"
|
||||
"github.com/restic/restic/internal/restic"
|
||||
|
||||
@@ -27,7 +29,9 @@ type Root struct {
|
||||
inode uint64
|
||||
snapshots restic.Snapshots
|
||||
blobSizeCache *BlobSizeCache
|
||||
snCount int
|
||||
|
||||
snCount int
|
||||
lastCheck time.Time
|
||||
|
||||
*MetaDir
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user