| 3159 | } |
| 3160 | |
| 3161 | static int write_split_index(struct index_state *istate, |
| 3162 | struct lock_file *lock, |
| 3163 | unsigned flags) |
| 3164 | { |
| 3165 | int ret; |
| 3166 | prepare_to_write_split_index(istate); |
| 3167 | ret = do_write_locked_index(istate, lock, flags, WRITE_ALL_EXTENSIONS); |
| 3168 | finish_writing_split_index(istate); |
| 3169 | return ret; |
| 3170 | } |
| 3171 | |
| 3172 | static unsigned long get_shared_index_expire_date(void) |
| 3173 | { |
no test coverage detected