vfs: rename Fsync to Sync and implement Sync on Node and Handle
This commit is contained in:
parent
eb3415db50
commit
b4083b4371
10 changed files with 40 additions and 10 deletions
|
@ -64,8 +64,8 @@ func TestDirMethods(t *testing.T) {
|
|||
// Size
|
||||
assert.Equal(t, int64(0), dir.Size())
|
||||
|
||||
// Fsync
|
||||
assert.NoError(t, dir.Fsync())
|
||||
// Sync
|
||||
assert.NoError(t, dir.Sync())
|
||||
|
||||
// DirEntry
|
||||
assert.Equal(t, dir.entry, dir.DirEntry())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue