Module gix_index::extension::end_of_index_entry
source · Expand description
Constants
- The minimal size of the extension, depending on the shortest hash.
- The smallest size of the extension varying by hash kind, along with the standard extension header.
- The signature of the end-of-index-entry extension
Functions
- Decode the end of index entry extension, which is no more than a glorified offset to the first byte of all extensions to allow loading entries and extensions in parallel.
- Write this extension to out and generate a hash of
hash_kind
over allprior_extensions
which are specified as(signature, size)
pair.one_past_entries
is the offset to the first byte past the entries, which is also the first byte of the signature of the first extension inprior_extensions
. Note thatprior_extensions
must have been written prior to this one, as the name suggests, allowing this extension to be the last one in the index file.