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
@@ -197,9 +194,6 @@ public boolean copyFile(final int sourceWorkspaceId, final Path sourceFilePath,
197
194
// Do not copy the file if the source file does not exist
198
195
if(!sourcePath.toFile().exists()) thrownewWorkspaceFileOpException("Source file \"%s\" in workspace %d does not exist.".formatted(sourceFilePath, sourceWorkspaceId));
199
196
200
-
// Do not copy the file if the destination already exists
201
-
if(destPath.toFile().exists()) thrownewWorkspaceFileOpException("Destination file \"%s\" in workspace %d already exists.".formatted(destFilePath, destWorkspaceId));
202
-
203
197
// Create any parent directories that don't already exist
0 commit comments