Line | Count | Source (jump to first uncovered line) |
1 | | #ifndef PROGRESS_H |
2 | | #define PROGRESS_H |
3 | | #include "gettext.h" |
4 | | |
5 | | struct progress; |
6 | | |
7 | | #ifdef GIT_TEST_PROGRESS_ONLY |
8 | | |
9 | | extern int progress_testing; |
10 | | extern uint64_t progress_test_ns; |
11 | | void progress_test_force_update(void); |
12 | | |
13 | | #endif |
14 | | |
15 | | void display_throughput(struct progress *progress, uint64_t total); |
16 | | void display_progress(struct progress *progress, uint64_t n); |
17 | | struct progress *start_progress(const char *title, uint64_t total); |
18 | | struct progress *start_sparse_progress(const char *title, uint64_t total); |
19 | | struct progress *start_delayed_progress(const char *title, uint64_t total); |
20 | | struct progress *start_delayed_sparse_progress(const char *title, |
21 | | uint64_t total); |
22 | | void stop_progress_msg(struct progress **p_progress, const char *msg); |
23 | | static inline void stop_progress(struct progress **p_progress) |
24 | 0 | { |
25 | 0 | stop_progress_msg(p_progress, _("done")); |
26 | 0 | } Unexecuted instantiation: blame.c:stop_progress Unexecuted instantiation: commit-graph.c:stop_progress Unexecuted instantiation: fsck.c:stop_progress Unexecuted instantiation: index-pack.c:stop_progress Unexecuted instantiation: log.c:stop_progress Unexecuted instantiation: pack-objects.c:stop_progress Unexecuted instantiation: prune.c:stop_progress Unexecuted instantiation: remote.c:stop_progress Unexecuted instantiation: rev-list.c:stop_progress Unexecuted instantiation: unpack-objects.c:stop_progress Unexecuted instantiation: csum-file.c:stop_progress Unexecuted instantiation: delta-islands.c:stop_progress Unexecuted instantiation: diffcore-rename.c:stop_progress Unexecuted instantiation: entry.c:stop_progress Unexecuted instantiation: midx.c:stop_progress Unexecuted instantiation: midx-write.c:stop_progress Unexecuted instantiation: pack-bitmap-write.c:stop_progress Unexecuted instantiation: pack-bitmap.c:stop_progress Unexecuted instantiation: pack-check.c:stop_progress Unexecuted instantiation: parallel-checkout.c:stop_progress Unexecuted instantiation: preload-index.c:stop_progress Unexecuted instantiation: progress.c:stop_progress Unexecuted instantiation: prune-packed.c:stop_progress Unexecuted instantiation: pseudo-merge.c:stop_progress Unexecuted instantiation: reachable.c:stop_progress Unexecuted instantiation: read-cache.c:stop_progress Unexecuted instantiation: unpack-trees.c:stop_progress |
27 | | #endif |