1
0
mirror of https://github.com/rclone/rclone.git synced 2025-02-20 07:48:33 +02:00
Nick Craig-Wood b47d6001a9 vfs: fix directory renaming by renaming dirs cached in memory
Before this change, if a directory was renamed and it or any children
had virtual entries in it they weren't flushed.

The consequence of this was that the directory path got out sync with
the actual position of the directory in the tree, leading to listings
of the old directory rather than the new one.

The fix renames any directories remaining after the ForgetAll to have
the correct path which fixes the problem.

See: https://forum.rclone.org/t/after-a-directory-renmane-using-mv-files-are-not-visible-any-longer/22797
2021-03-22 09:07:01 +00:00
..
2020-10-14 15:21:31 +01:00
2019-04-15 21:49:58 +01:00
2020-11-26 16:40:12 +00:00
2020-10-14 15:21:31 +01:00
2020-10-28 18:16:23 +00:00