File service: unable to move/copy same path #75825
Labels
debt
Code quality issues
file-io
File I/O
help wanted
Issues identified as good community contribution opportunities
linux
Issues with VS Code on Linux
Milestone
Unable to move/copy when source path is equal or parent of target path: Error: Unable to move/copy when source path is equal or parent of target path
The issue is that the explorer calls
textFileService.move(stat.resource, targetResource)
where both resources are the same.The fileService treats this as a no-op on OS X and Win. But throws on linux.
@bpasero What is the proper behavior, that it is always a no-op, or you always throw so I put a check in the action.
fyi @joaomoreno
The text was updated successfully, but these errors were encountered: