Is Shutil copy Atomic?

Is Shutil copy Atomic?
Answer
With shutil. move(), you can copy across file systems, but
there’s no guarantee of atomicity. If the operation is interrupted halfway through, you could end up with a half-written file at the destination.
 

Tìm kiếm

Back
Top