Coverage Report

Created: 2025-12-31 07:01

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/git/progress.h
Line
Count
Source
1
#ifndef PROGRESS_H
2
#define PROGRESS_H
3
#include "gettext.h"
4
5
struct progress;
6
struct repository;
7
8
#ifdef GIT_TEST_PROGRESS_ONLY
9
10
extern int progress_testing;
11
extern uint64_t progress_test_ns;
12
void progress_test_force_update(void);
13
14
#endif
15
16
void display_throughput(struct progress *progress, uint64_t total);
17
void display_progress(struct progress *progress, uint64_t n);
18
struct progress *start_progress(struct repository *r,
19
        const char *title, uint64_t total);
20
struct progress *start_sparse_progress(struct repository *r,
21
               const char *title, uint64_t total);
22
struct progress *start_delayed_progress(struct repository *r,
23
          const char *title, uint64_t total);
24
struct progress *start_delayed_sparse_progress(struct repository *r,
25
                 const char *title,
26
                 uint64_t total);
27
void stop_progress_msg(struct progress **p_progress, const char *msg);
28
static inline void stop_progress(struct progress **p_progress)
29
0
{
30
0
  stop_progress_msg(p_progress, _("done"));
31
0
}
Unexecuted instantiation: read-cache.c:stop_progress
Unexecuted instantiation: commit-graph.c:stop_progress
Unexecuted instantiation: csum-file.c:stop_progress
Unexecuted instantiation: diffcore-rename.c:stop_progress
Unexecuted instantiation: midx.c:stop_progress
Unexecuted instantiation: pack-check.c:stop_progress
Unexecuted instantiation: preload-index.c:stop_progress
Unexecuted instantiation: progress.c:stop_progress
Unexecuted instantiation: unpack-trees.c:stop_progress
Unexecuted instantiation: entry.c:stop_progress
Unexecuted instantiation: parallel-checkout.c:stop_progress
32
#endif