summaryrefslogtreecommitdiff
path: root/include/git2/indexer.h
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-10-19 19:23:32 -0700
committerBen Straub <bs@github.com>2012-10-19 19:36:23 -0700
commit7bcd9e23e8f64c8622e9213ee0fa3d75d058053b (patch)
tree42d73408bb7e3df8d487d38ecfaf0efb9c0531c6 /include/git2/indexer.h
parent25e8b20169a6f6919ad49cf32220975ab96b35c8 (diff)
downloadlibgit2-7bcd9e23e8f64c8622e9213ee0fa3d75d058053b.tar.gz
gitno_buffer: callback on each packet
The fetch code takes advantage of this to implement a progress callback every 100kb of transfer.
Diffstat (limited to 'include/git2/indexer.h')
-rw-r--r--include/git2/indexer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/git2/indexer.h b/include/git2/indexer.h
index 0d3c9dd51..ae01fd61d 100644
--- a/include/git2/indexer.h
+++ b/include/git2/indexer.h
@@ -20,6 +20,7 @@ typedef struct git_indexer_stats {
unsigned int total;
unsigned int processed;
unsigned int received;
+ size_t bytes;
} git_indexer_stats;