code: def _get_index_path(path: str) -> epath.PathLike:
      """Returns path to the index file of the records stored at the given path.
  
      E.g: Say the path to a shard of records (of a particular split) are stored at
      `your/path/to/records/foo.riegeli-00001-of-00005`, it is transformed into
      `your/path/to/records/foo.riegeli-00001-of-00005_index.json`.
  
      Args:
        path: Path to the record file.
  
      Returns:
        Path of the index file of a shard of records stored at given path.
      """
      return path + _INDEX_PATH_SUFFIX
  
imports: import dataclasses
  import functools
  import itertools
  import json
  import os
  from typing import Any, Iterable, List, Optional, Tuple
  from absl import logging
  from etils import epath
  from tensorflow_datasets.core import example_parser
  from tensorflow_datasets.core import example_serializer
  from tensorflow_datasets.core import file_adapters
  from tensorflow_datasets.core import hashing
  from tensorflow_datasets.core import lazy_imports_lib
  from tensorflow_datasets.core import naming
  from tensorflow_datasets.core import shuffle
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.utils import file_utils
  from tensorflow_datasets.core.utils import shard_utils
  from tensorflow_datasets.core.utils import type_utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import apache_beam
label_desc: Use image node_id 2 for calling a global function with example usage: _get_index_path(path) and returns: unknown