https://github.com/git/git
Raw File
Tip revision: 79bdd48716a4c455bdc8ffd91d57a18d5cd55baa authored by Junio C Hamano on 24 May 2023, 20:55:19 UTC
Git 2.41-rc2
Tip revision: 79bdd48
reachable.h
#ifndef REACHEABLE_H
#define REACHEABLE_H

struct progress;
struct rev_info;
struct object;
struct packed_git;

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
back to top