aboutsummaryrefslogtreecommitdiffstats
path: root/reachable.h
blob: b776761baa12a93cbc0e654dbddb3df59d3abc9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef REACHEABLE_H
#define REACHEABLE_H

#include "object.h"

struct progress;
struct rev_info;

typedef void report_recent_object_fn(const struct object *, struct packed_git *,
				     off_t, time_t);

int add_unseen_recent_objects_to_traversal(struct rev_info *revs,
					   timestamp_t timestamp,
					   report_recent_object_fn cb,
					   int ignore_in_core_kept_packs);
void mark_reachable_objects(struct rev_info *revs, int mark_reflog,
			    timestamp_t mark_recent, struct progress *);

#endif