4 ms·
It uses Linux `copy_file_range`. As I wrote in another post, that syscall had already caused some trouble for Go, they used it with `io.Copy()` You can only
by ReleaseCandidat 5y ago
It uses Linux `copy_file_range`.
As I wrote in another post, that syscall had already caused some trouble for Go, they used it with `io.Copy()`
You can only copy 'non special' files _in _the_same_filesystem_ (that part is missing in Rust's documentioan) with it.
https://stdrs.dev/nightly/x86_64-unknown-linux-gnu/std/sys/unix/kernel_copy/fn.copy_regular_files.html https://stdrs.dev/nightly/x86_64-unknown-linux-gnu/std/sys/u...