mirror of
https://github.com/rclone/rclone.git
synced 2025-12-06 00:03:32 +00:00
vfs: Add SetSys() methods to Node to allow caching stuff on a node
This commit is contained in:
@@ -58,6 +58,10 @@ func TestFileMethods(t *testing.T) {
|
||||
// Sys
|
||||
assert.Equal(t, nil, file.Sys())
|
||||
|
||||
// SetSys
|
||||
file.SetSys(42)
|
||||
assert.Equal(t, 42, file.Sys())
|
||||
|
||||
// Inode
|
||||
assert.NotEqual(t, uint64(0), file.Inode())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user