You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And eventually, it will copy my file to /path/to/desired/destination_copy just because /path/to/desired/destination already exists. No, the FileService should fail and not modify the destination.
The current code modifies the target URI if !overwrite . !overwrite has the same meaning as COPYFILE_EXCL from Node. Node fails with EEXIST. I would expect a failure too. Thoughts?
Bug Description:
From here:
Related: #9037
The current code modifies the target URI if
!overwrite
.!overwrite
has the same meaning asCOPYFILE_EXCL
from Node. Node fails withEEXIST
. I would expect a failure too. Thoughts?theia/packages/filesystem/src/browser/file-service.ts
Lines 1121 to 1125 in b972e2b
Steps to Reproduce:
Additional Information
The text was updated successfully, but these errors were encountered: