| 11 | #include "ewah/ewok.h" |
| 12 | |
| 13 | struct split_index *init_split_index(struct index_state *istate) |
| 14 | { |
| 15 | if (!istate->split_index) { |
| 16 | if (istate->sparse_index) |
| 17 | die(_("cannot use split index with a sparse index")); |
| 18 | |
| 19 | CALLOC_ARRAY(istate->split_index, 1); |
| 20 | istate->split_index->refcount = 1; |
| 21 | } |
| 22 | return istate->split_index; |
| 23 | } |
| 24 | |
| 25 | int read_link_extension(struct index_state *istate, |
| 26 | const void *data_, unsigned long sz) |
no test coverage detected