浏览代码

Document return types.

Jelmer Vernooij 13 年之前
父节点
当前提交
b3aea9cca8
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      dulwich/client.py

+ 2 - 1
dulwich/client.py

@@ -194,7 +194,7 @@ class GitClient(object):
         :param determine_wants: Optional function to determine what refs
             to fetch
         :param progress: Optional progress function
-        :return: remote refs
+        :return: remote refs as dictionary
         """
         if determine_wants is None:
             determine_wants = target.object_store.determine_wants_all
@@ -731,6 +731,7 @@ class HttpGitClient(GitClient):
         :param graph_walker: Object with next() and ack().
         :param pack_data: Callback called for each bit of data in the pack
         :param progress: Callback for progress reports (strings)
+        :return: Dictionary with the refs of the remote repository
         """
         url = self._get_url(path)
         refs, server_capabilities = self._discover_references(