External Publication
Visit Post

Idea: Add an option to set the mode to fs::copy

Rust Internals [Unofficial] March 14, 2026
Source

It seems to me that fs::copy is a convenience function for the simplest, most quick-n-dirty use case, and as the documentation notes, you'll probably want io::copy if you need more control over file creation or platform-dependent stuff like permissions.

Discussion in the ATmosphere

Loading comments...