mirror of
https://github.com/rclone/rclone.git
synced 2025-08-19 09:52:05 +02:00
vfs: add --vfs-refresh flag to read all the directories on start
Refreshes the directory listing recursively at VFS start time.
This commit is contained in:
committed by
Nick Craig-Wood
parent
a752563842
commit
3337fe31c7
@@ -15,6 +15,7 @@ type Options struct {
|
||||
ReadOnly bool // if set VFS is read only
|
||||
NoModTime bool // don't read mod times for files
|
||||
DirCacheTime time.Duration // how long to consider directory listing cache valid
|
||||
Refresh bool // refreshes the directory listing recursively on start
|
||||
PollInterval time.Duration
|
||||
Umask int
|
||||
UID uint32
|
||||
@@ -44,6 +45,7 @@ var DefaultOpt = Options{
|
||||
NoChecksum: false,
|
||||
NoSeek: false,
|
||||
DirCacheTime: 5 * 60 * time.Second,
|
||||
Refresh: false,
|
||||
PollInterval: time.Minute,
|
||||
ReadOnly: false,
|
||||
Umask: 0,
|
||||
|
Reference in New Issue
Block a user