blob: 251b1ed88e9820a6819cd3013fde32c21e5213fe [file] [log] [blame]
Elijah Newrenfbffdfb2023-05-16 06:33:52 +00001#ifndef PRELOAD_INDEX_H
2#define PRELOAD_INDEX_H
3
4struct index_state;
5struct pathspec;
6struct repository;
7
8void preload_index(struct index_state *index,
9 const struct pathspec *pathspec,
10 unsigned int refresh_flags);
11int repo_read_index_preload(struct repository *,
12 const struct pathspec *pathspec,
13 unsigned refresh_flags);
14
15#endif /* PRELOAD_INDEX_H */