common : add fs_write_atomic() (#29642)
- Check for buffered write errors when closing downloaded files. - Use UTF-8 paths when writing ETag files on Windows. - Write in binary mode on Windows. Signed-off-by: Adrien Gallouët <angt@huggingface.co>
A
Adrien Gallouët committed
31385c9cebf9e5271a38e14c26e5df6dd93718b1
Parent: 8019dc5
Committed by GitHub <noreply@github.com>
on 9/29/2026, 11:46:53 AM