You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Frazzer951 Do you have the same problem? Unfortunately, I can't reproduce it...
And second question: Do you move the directory from one disk to another?
@webdesus Yea it was the same issue, It was when moving a folder that contained a .git directory. It was moving between folders on my C drive. I.E. from C:\dev_1\folder to C:\dev_2\folder. I ended up just writing my own solution using the walkdir crate
I encountered the same problem. In my opinion, it was caused by hidden files in Windows. The target_path contains hidden files, and the original_path also has this file. An error of PermissionDenied is reported when overwriting occurs during the execution of move_file.
let option = fs_extra::file::CopyOptions::new().overwrite(true);move_file(original_path,&target_path,&option)?;
Hi, I have this code:
Code
(#24 is why I have that comment block there)
Error
Backtrace
Screenshot of the directory
What works
dir::move_dir
successfully creates all the directories and nested directories:The only file copied is the first file in
.git/objects/00
:It does appear to contain data:
Notes
.git
folder stops the issue from happeningThe text was updated successfully, but these errors were encountered: