Bläddra i källkod

Merge branch 'master' into wernha-patch-1

wernha 2 år sedan
förälder
incheckning
ff54097468
1 ändrade filer med 15 tillägg och 0 borttagningar
  1. 15 0
      dulwich/client.py

+ 15 - 0
dulwich/client.py

@@ -963,6 +963,21 @@ class GitClient(object):
         negotiated_capabilities = self._fetch_capabilities & server_capabilities
         return (negotiated_capabilities, symrefs, agent)
 
+    def archive(
+        self,
+        path,
+        committish,
+        write_data,
+        progress=None,
+        write_error=None,
+        format=None,
+        subdirs=None,
+        prefix=None,
+    ):
+        """Retrieve an archive of the specified tree.
+        """
+        raise NotImplementedError(self.archive)
+
 
 def check_wants(wants, refs):
     """Check that a set of wants is valid.