File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
distribution/lib/Standard/Base/0.0.0-dev/src/System Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -953,12 +953,12 @@ Data_Link_From_File.from (that : File) = Data_Link_From_File.Value that
953
953
private _local_file_copy (source : File) (destination : File) (replace_existing : Boolean) -> Nothing =
954
954
File_Error.handle_java_exceptions source <|
955
955
copy_options = if replace_existing then [StandardCopyOption.REPLACE_EXISTING.to_text] else []
956
- copy_builtin source destination copy_options
956
+ source.move_builtin destination copy_options
957
957
958
958
private _local_file_move (source : File) (destination : File) (replace_existing : Boolean) -> Nothing =
959
959
File_Error.handle_java_exceptions source <|
960
960
copy_options = if replace_existing then [StandardCopyOption.REPLACE_EXISTING.to_text] else []
961
- move_builtin source destination copy_options
961
+ source.move_builtin destination copy_options
962
962
963
963
## On some filesystems some paths may be invalid,
964
964
we want to catch the Java exception and turn it into an Enso error.
You can’t perform that action at this time.
0 commit comments