calculate_index#
- astro_metadata_translator.indexing.calculate_index(headers, content_mode)#
Calculate an index data structure from the supplied headers.
- Parameters:
- Returns:
index_ – The headers in form suitable for writing to an index.
- Return type: