We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 141c773 commit f474e6aCopy full SHA for f474e6a
src/file/imp/windows.rs
@@ -75,9 +75,6 @@ pub fn keep(path: &Path) -> io::Result<()> {
75
}
76
77
pub fn persist(old_path: &Path, new_path: &Path, overwrite: bool) -> io::Result<()> {
78
- // TODO: We should probably do this in one-shot using SetFileInformationByHandle but the API is
79
- // really painful.
80
-
81
unsafe {
82
let old_path_w = to_utf16(old_path);
83
let new_path_w = to_utf16(new_path);
0 commit comments