mirror of
https://github.com/rclone/rclone.git
synced 2025-08-13 23:38:51 +02:00
vfs: update vfs/refresh rc command documentation
This commit is contained in:
committed by
Nick Craig-Wood
parent
6349147af4
commit
2e80d4c18e
@ -197,10 +197,14 @@ func (d *Dir) _readDir() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// update d.items for each dir in the DirTree below this one and
|
||||
// set the last read time - must be called with the lock held
|
||||
func (d *Dir) _readDirFromDirTree(dirTree walk.DirTree, when time.Time) error {
|
||||
return d._readDirFromEntries(dirTree[d.path], dirTree, when)
|
||||
}
|
||||
|
||||
// update d.items and if dirTree is not nil update each dir in the DirTree below this one and
|
||||
// set the last read time - must be called with the lock held
|
||||
func (d *Dir) _readDirFromEntries(entries fs.DirEntries, dirTree walk.DirTree, when time.Time) error {
|
||||
var err error
|
||||
// Cache the items by name
|
||||
|
Reference in New Issue
Block a user