Explorar o código

Fix tests: Add missing Index.path property.

Jelmer Vernooij %!s(int64=10) %!d(string=hai) anos
pai
achega
6ff21a5c9b
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      dulwich/index.py

+ 4 - 0
dulwich/index.py

@@ -203,6 +203,10 @@ class Index(object):
         self.clear()
         self.read()
 
+    @property
+    def path(self):
+        return self._filename
+
     def __repr__(self):
         return "%s(%r)" % (self.__class__.__name__, self._filename)