]> git.ipfire.org Git - thirdparty/git.git/blame - progress.h
Merge branch 'jt/t5500-unflake'
[thirdparty/git.git] / progress.h
CommitLineData
e0173ad9
JH
1#ifndef PROGRESS_H
2#define PROGRESS_H
96a02f8f 3
dc6a0757 4struct progress;
96a02f8f 5
3cacb9aa
ĐTCD
6#ifdef GIT_TEST_PROGRESS_ONLY
7
8extern int progress_testing;
9extern uint64_t progress_test_ns;
10void progress_test_force_update(void);
11
12#endif
13
d6861d02 14void display_throughput(struct progress *progress, uint64_t total);
9219d127 15void display_progress(struct progress *progress, uint64_t n);
d6861d02 16struct progress *start_progress(const char *title, uint64_t total);
9d81ecb5 17struct progress *start_sparse_progress(const char *title, uint64_t total);
d6861d02 18struct progress *start_delayed_progress(const char *title, uint64_t total);
9d81ecb5
JH
19struct progress *start_delayed_sparse_progress(const char *title,
20 uint64_t total);
dc6a0757 21void stop_progress(struct progress **progress);
a984a06a 22void stop_progress_msg(struct progress **progress, const char *msg);
96a02f8f
NP
23
24#endif