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