mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
commented prints
This commit is contained in:
parent
74e23e8d64
commit
bda13ed593
|
@ -46,6 +46,7 @@ func (dir *Dir) Rename(ctx context.Context, req *fuse.RenameRequest, newDirector
|
||||||
newDirNode := dir.wfs.getNode(filer2.FullPath(newDir.Path), func() fs.Node {
|
newDirNode := dir.wfs.getNode(filer2.FullPath(newDir.Path), func() fs.Node {
|
||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
|
// fmt.Printf("new path: %v dir: %v node:%+v\n", newPath, newDir.Path, newDirNode)
|
||||||
dir.wfs.forgetNode(newPath)
|
dir.wfs.forgetNode(newPath)
|
||||||
dir.wfs.forgetNode(oldPath)
|
dir.wfs.forgetNode(oldPath)
|
||||||
if oldFileNode != nil && newDirNode != nil {
|
if oldFileNode != nil && newDirNode != nil {
|
||||||
|
|
Loading…
Reference in a new issue