pub fn write( index_path: &Path, object_hash: Kind, records: &[Record], ) -> Result<(), Error>
Writes records as the index at index_path, replacing whatever is there.
records
index_path