https://github.com/git/git
Revision c2cbfbd2e28cbe27c194d62183b42f27a6a5bb87 authored by Junio C Hamano on 01 April 2024, 20:21:22 UTC, committed by Junio C Hamano on 01 April 2024, 20:21:36 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent cebe702
Raw File
Tip revision: c2cbfbd2e28cbe27c194d62183b42f27a6a5bb87 authored by Junio C Hamano on 01 April 2024, 20:21:22 UTC
The thirteenth batch
Tip revision: c2cbfbd
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