File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed
Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,14 @@ use std::fs::Permissions;
33use std:: io;
44#[ cfg( unix) ]
55use std:: os:: unix:: ffi:: OsStrExt ;
6- use std:: path:: { Path , PathBuf } ;
7- use std:: sync:: { Arc , Mutex } ;
6+ use std:: path:: {
7+ Path ,
8+ PathBuf ,
9+ } ;
10+ use std:: sync:: {
11+ Arc ,
12+ Mutex ,
13+ } ;
814
915use tempfile:: TempDir ;
1016use tokio:: fs;
@@ -17,7 +23,10 @@ pub struct Fs(inner::Inner);
1723mod inner {
1824 use std:: collections:: HashMap ;
1925 use std:: path:: PathBuf ;
20- use std:: sync:: { Arc , Mutex } ;
26+ use std:: sync:: {
27+ Arc ,
28+ Mutex ,
29+ } ;
2130
2231 use tempfile:: TempDir ;
2332
@@ -365,14 +374,9 @@ impl Fs {
365374 /// On Windows, it automatically detects whether the target is a file or directory
366375 /// and uses the appropriate system call.
367376 ///
368- <<<<<<< HEAD
369- /// This is a proxy to [`std::os::windows::fs::symlink_file`] or [`std::os::windows::fs::symlink_dir`] on Windows,
370- /// and [`std::os::unix::fs::symlink`] on Unix.
371- =======
372377 /// This is a proxy to [`std::os::windows::fs::symlink_file`] or
373378 /// [`std::os::windows::fs::symlink_dir`] on Windows, and [`std::os::unix::fs::symlink`] on
374379 /// Unix.
375- >>>>>>> origin/main
376380 #[ cfg( windows) ]
377381 pub fn symlink_sync ( & self , original : impl AsRef < Path > , link : impl AsRef < Path > ) -> io:: Result < ( ) > {
378382 use inner:: Inner ;
You can’t perform that action at this time.
0 commit comments