forked from TrueCloudLab/rclone
fs: copy the ID too when we copy a Directory object
This means that crypt which wraps directory objects will retain the ID of the underlying object.
This commit is contained in:
parent
2386c5adc1
commit
e7fc3dcd31
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ func NewDirCopy(d Directory) *Dir {
|
|||
modTime: d.ModTime(),
|
||||
size: d.Size(),
|
||||
items: d.Items(),
|
||||
id: d.ID(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue