summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r--include/git2/remote.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index ecd597518..9327320b4 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -313,6 +313,11 @@ struct git_remote_callbacks {
*/
GIT_EXTERN(void) git_remote_set_callbacks(git_remote *remote, git_remote_callbacks *callbacks);
+/**
+ * Get the statistics structure that is filled in by the fetch operation.
+ */
+GIT_EXTERN(const git_indexer_stats *) git_remote_stats(git_remote *remote);
+
enum {
GIT_REMOTE_DOWNLOAD_TAGS_UNSET,
GIT_REMOTE_DOWNLOAD_TAGS_NONE,