Junio C Hamano | 9442147 | 2007-01-06 02:16:17 -0800 | [diff] [blame] | 1 | #ifndef REACHEABLE_H |
| 2 | #define REACHEABLE_H |
| 3 | |
Nguyễn Thái Ngọc Duy | dc34719 | 2011-11-05 19:00:08 +0700 | [diff] [blame] | 4 | struct progress; |
Elijah Newren | ef3ca95 | 2018-08-15 10:54:05 -0700 | [diff] [blame] | 5 | struct rev_info; |
Taylor Blau | a7d4938 | 2022-05-20 19:18:00 -0400 | [diff] [blame] | 6 | struct object; |
| 7 | struct packed_git; |
Elijah Newren | ef3ca95 | 2018-08-15 10:54:05 -0700 | [diff] [blame] | 8 | |
Taylor Blau | 2fb9040 | 2022-05-20 19:17:54 -0400 | [diff] [blame] | 9 | typedef void report_recent_object_fn(const struct object *, struct packed_git *, |
| 10 | off_t, time_t); |
| 11 | |
Denton Liu | 5545442 | 2019-04-29 04:28:14 -0400 | [diff] [blame] | 12 | int add_unseen_recent_objects_to_traversal(struct rev_info *revs, |
Taylor Blau | 2fb9040 | 2022-05-20 19:17:54 -0400 | [diff] [blame] | 13 | timestamp_t timestamp, |
| 14 | report_recent_object_fn cb, |
| 15 | int ignore_in_core_kept_packs); |
Denton Liu | 5545442 | 2019-04-29 04:28:14 -0400 | [diff] [blame] | 16 | void mark_reachable_objects(struct rev_info *revs, int mark_reflog, |
Denton Liu | ad6dad0 | 2019-04-29 04:28:23 -0400 | [diff] [blame] | 17 | timestamp_t mark_recent, struct progress *); |
Junio C Hamano | 9442147 | 2007-01-06 02:16:17 -0800 | [diff] [blame] | 18 | |
| 19 | #endif |