forked from TrueCloudLab/rclone
vfs: Add SetSys() methods to Node to allow caching stuff on a node
This commit is contained in:
parent
7f8d74e903
commit
cfcdc85b26
5 changed files with 31 additions and 2 deletions
|
@ -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())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue