浏览代码

Oops, fix --no-default-features compilation

Ben S 11 年之前
父节点
当前提交
be9eefe44b
共有 1 个文件被更改,包括 4 次插入0 次删除
  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
         panic!("Tried to access a Git repo without Git support!");
     }
+
+    fn dir_status(&self, path: &Path) -> String {
+        self.status(path)
+    }
 }