mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 06:07:58 +08:00
set target Dir object when moving
This commit is contained in:
@@ -99,6 +99,7 @@ func (c *FsCache) Move(oldPath util.FullPath, newPath util.FullPath) *FsNode {
|
||||
if f.entry != nil {
|
||||
f.entry.Name = f.Name
|
||||
}
|
||||
f.dir = target.parent.node.(*Dir)
|
||||
}
|
||||
parent.disconnectChild(target)
|
||||
|
||||
|
Reference in New Issue
Block a user