Преглед изворни кода

fix(ci): changed windows methods

xempt пре 2 година
родитељ
комит
6f5cc10b60
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      src/fs/file.rs
  2. 1 1
      src/fs/filter.rs

+ 1 - 1
src/fs/file.rs

@@ -581,7 +581,7 @@ impl<'dir> File<'dir> {
     }
 
     #[cfg(windows)]
-    pub fn recursive_size(&self) -> f::Size {
+    pub fn recursive_size(&self, toplevel: bool) -> f::Size {
         if self.is_directory() {
             f::Size::None
         } else {

+ 1 - 1
src/fs/filter.rs

@@ -305,7 +305,7 @@ impl SortField {
 
     /// Windows safe version of the above
     #[cfg(windows)]
-    pub fn compare_files(self, a: &File<'_>, b: &File<'_>) -> Ordering {
+    pub fn compare_files(self, a: &File<'_>, b: &File<'_>, recursive: bool) -> Ordering {
         use self::SortCase::{ABCabc, AaBbCc};
 
         #[rustfmt::skip]