Переглянути джерело

Merge branch 'master' into wernha-patch-1

wernha 2 роки тому
батько
коміт
ff54097468
1 змінених файлів з 15 додано та 0 видалено
  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.