commented prints

This commit is contained in:
Chris Lu 2020-03-22 13:09:51 -07:00
parent 74e23e8d64
commit bda13ed593

View file

@ -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 {