vfs: update vfs/refresh rc command documentation
This commit is contained in:
parent
6349147af4
commit
2e80d4c18e
2 changed files with 11 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue