Show More
@@ -730,7 +730,7 b' where' | |||||
730 | .symlink_metadata(); |
|
730 | .symlink_metadata(); | |
731 |
|
731 | |||
732 | match meta { |
|
732 | match meta { | |
733 |
Ok( |
|
733 | Ok(m) | |
734 | if !(m.file_type().is_file() |
|
734 | if !(m.file_type().is_file() | |
735 | || m.file_type().is_symlink()) => |
|
735 | || m.file_type().is_symlink()) => | |
736 | { |
|
736 | { | |
@@ -749,7 +749,7 b' where' | |||||
749 | ); |
|
749 | ); | |
750 | Ok((Cow::Owned(filename), dispatch)) |
|
750 | Ok((Cow::Owned(filename), dispatch)) | |
751 | } |
|
751 | } | |
752 |
Err( |
|
752 | Err(e) | |
753 | if e.kind() == ErrorKind::NotFound |
|
753 | if e.kind() == ErrorKind::NotFound | |
754 | || e.raw_os_error() == Some(20) => |
|
754 | || e.raw_os_error() == Some(20) => | |
755 | { |
|
755 | { | |
@@ -783,7 +783,7 b' where' | |||||
783 | let meta = |
|
783 | let meta = | |
784 | self.root_dir.join(filename_as_path).symlink_metadata(); |
|
784 | self.root_dir.join(filename_as_path).symlink_metadata(); | |
785 | match meta { |
|
785 | match meta { | |
786 |
Ok( |
|
786 | Ok(m) | |
787 | if !(m.file_type().is_file() |
|
787 | if !(m.file_type().is_file() | |
788 | || m.file_type().is_symlink()) => |
|
788 | || m.file_type().is_symlink()) => | |
789 | { |
|
789 | { | |
@@ -802,7 +802,7 b' where' | |||||
802 | self.options, |
|
802 | self.options, | |
803 | ), |
|
803 | ), | |
804 | )), |
|
804 | )), | |
805 |
Err( |
|
805 | Err(e) | |
806 | if e.kind() == ErrorKind::NotFound |
|
806 | if e.kind() == ErrorKind::NotFound | |
807 | || e.raw_os_error() == Some(20) => |
|
807 | || e.raw_os_error() == Some(20) => | |
808 | { |
|
808 | { |
General Comments 0
You need to be logged in to leave comments.
Login now