mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-12 18:07:40 +00:00
![]() Using the OS mechanism for copying files allows the OS to optimize the transfer using stuff such as [Offloaded Data Transfers (ODX)](https://msdn.microsoft.com/en-us/library/windows/desktop/hh848056%28v=vs.85%29.aspx). Also preserves a lot more information, including NTFS [File Streams](https://msdn.microsoft.com/en-us/library/windows/desktop/aa364404%28v=vs.85%29.aspx), which the manual implementation threw away. In addition, it is an atomic operation, unlike the manual implementation which has extra calls for copying over permissions. r? @alexcrichton |
||
---|---|---|
.. | ||
ext | ||
backtrace.rs | ||
c.rs | ||
condvar.rs | ||
fd.rs | ||
fs.rs | ||
mod.rs | ||
mutex.rs | ||
net.rs | ||
os_str.rs | ||
os.rs | ||
pipe.rs | ||
process.rs | ||
rwlock.rs | ||
stack_overflow.rs | ||
stdio.rs | ||
sync.rs | ||
thread_local.rs | ||
thread.rs | ||
time.rs |