mirror of
https://github.com/rclone/rclone.git
synced 2025-08-17 00:51:34 +02:00
On rename, rename in cache too if the file exists
Signed-off-by: Anagh Kumar Baranwal <6824881+darthShadow@users.noreply.github.com>
This commit is contained in:
committed by
Nick Craig-Wood
parent
5ddfa9f7f6
commit
5928704e1b
@ -21,7 +21,7 @@ func fileCreate(t *testing.T, r *fstest.Run) (*VFS, *File, fstest.Item) {
|
||||
|
||||
node, err := vfs.Stat("dir/file1")
|
||||
require.NoError(t, err)
|
||||
require.True(t, node.IsFile())
|
||||
require.True(t, node.Mode().IsRegular())
|
||||
|
||||
return vfs, node.(*File), file1
|
||||
}
|
||||
|
Reference in New Issue
Block a user