mirror of
https://github.com/rclone/rclone.git
synced 2025-12-06 00:03:32 +00:00
vfs: rename Fsync to Sync and implement Sync on Node and Handle
This commit is contained in:
@@ -65,6 +65,10 @@ func TestWriteFileHandleMethods(t *testing.T) {
|
||||
_, err = fh.ReadAt(buf, 0)
|
||||
assert.Equal(t, EPERM, err)
|
||||
|
||||
// Sync
|
||||
err = fh.Sync()
|
||||
assert.NoError(t, err)
|
||||
|
||||
// Close
|
||||
assert.NoError(t, fh.Close())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user