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
{{ message }}
Repository navigation
Local storage downloads onto the source delete the stored object #2200
LocalStorageDriver.download_object() deletes the stored object when the destination resolves to the source file and overwrite_existing=True is used. The default failure cleanup unlinks the source after shutil.copy() raises SameFileError.
Reproducer
On current trunk (bd9cbb3e393bc42f57684481e7c62e9293007584), Python 3.12:
The failed download should preserve the source. The same deletion occurs when the destination is the containing directory with a trailing path separator.
Activity