| 1 | #ifndef PRELOAD_INDEX_H |
| 2 | #define PRELOAD_INDEX_H |
| 3 | |
| 4 | struct index_state; |
| 5 | struct pathspec; |
| 6 | struct repository; |
| 7 | |
| 8 | void preload_index(struct index_state *index, |
| 9 | const struct pathspec *pathspec, |
| 10 | unsigned int refresh_flags); |
| 11 | int repo_read_index_preload(struct repository *, |
| 12 | const struct pathspec *pathspec, |
| 13 | unsigned refresh_flags); |
| 14 | |
| 15 | #endif /* PRELOAD_INDEX_H */ |