This commit is contained in:
Kovid Goyal 2023-06-11 18:24:24 +05:30
parent 1e38b55924
commit 97ad986ace
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -49,6 +49,7 @@ class UnixFileCopier:
os.link(src_path, dest_path, follow_symlinks=False)
shutil.copystat(src_path, dest_path, follow_symlinks=False)
continue
with suppress(shutil.SameFileError):
shutil.copy2(src_path, dest_path, follow_symlinks=False)
def delete_all_source_files(self) -> None: