3 ms·
But, nevertheless, it's not exactly a port of Coreutils to Windows per se. For instance, let's take the "cp" utility. A Windows port "cp" should be able to co
by kazinator 11y ago
But, nevertheless, it's not exactly a port of Coreutils to Windows per se.
For instance, let's take the "cp" utility.
A Windows port "cp" should be able to copy Windows-specific file attributes. Does the Cygwin "cp" do that? How about NTFS forks?
I don't believe that you can write some portable code in Rust, and have a "cp" utility which correctly handles every quirk of every OS's file structure.
- dikaiosune 11y agoNot familiar with Windows' filesystem APIs, but the description for the Rust function in the stdlib is here: https://doc.rust-lang.org/std/fs/fn.copy.html https://doc.rust-lang.org/std/fs/fn.copy.html Seems like it should handle platform specific attributes?