Sfoglia il codice sorgente

Oops, fix --no-default-features compilation

Ben S 11 anni fa
parent
commit
be9eefe44b
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      src/dir.rs

+ 4 - 0
src/dir.rs

@@ -150,4 +150,8 @@ impl Git {
         // The Err above means that this should never happen
         // The Err above means that this should never happen
         panic!("Tried to access a Git repo without Git support!");
         panic!("Tried to access a Git repo without Git support!");
     }
     }
+
+    fn dir_status(&self, path: &Path) -> String {
+        self.status(path)
+    }
 }
 }