parameters: (dst_url, api_selector,
                                        num_components=None)
return_statement: return tracker_file_paths
docstring: Gets a list of sliced download tracker file paths.
  
    The list consists of the parent tracker file path in index 0, and then
    any existing component tracker files in [1:].
  
    Args:
      dst_url: Destination URL for tracker file.
      api_selector: API to use for this operation.
      num_components: The number of component tracker files, if already known.
                      If not known, the number will be retrieved from the parent
                      tracker file on disk.
    Returns:
      File path to tracker file.
docstring_summary: Gets a list of sliced download tracker file paths.
docstring_tokens: Gets a list of sliced download tracker file paths .
function: def GetSlicedDownloadTrackerFilePaths(dst_url, api_selector,
                                        num_components=None):
    """Gets a list of sliced download tracker file paths.
  
    The list consists of the parent tracker file path in index 0, and then
    any existing component tracker files in [1:].
  
    Args:
      dst_url: Destination URL for tracker file.
      api_selector: API to use for this operation.
      num_components: The number of component tracker files, if already known.
                      If not known, the number will be retrieved from the parent
                      tracker file on disk.
    Returns:
      File path to tracker file.
    """
    parallel_tracker_file_path = GetTrackerFilePath(
        dst_url, TrackerFileType.SLICED_DOWNLOAD, api_selector)
    tracker_file_paths = [parallel_tracker_file_path]
  
    # If we don't know the number of components, check the tracker file.
    if num_components is None:
      tracker_file = None
      try:
        tracker_file = open(parallel_tracker_file_path, 'r')
        num_components = json.load(tracker_file)['num_components']
      except (IOError, ValueError):
        return tracker_file_paths
      finally:
        if tracker_file:
          tracker_file.close()
  
    for i in range(num_components):
      tracker_file_paths.append(GetTrackerFilePath(
          dst_url, TrackerFileType.DOWNLOAD_COMPONENT, api_selector,
          component_num=i))
  
    return tracker_file_paths
function_tokens: def GetSlicedDownloadTrackerFilePaths ( dst_url , api_selector , num_components = None ) : parallel_tracker_file_path = GetTrackerFilePath ( dst_url , TrackerFileType . SLICED_DOWNLOAD , api_selector ) tracker_file_paths = [ parallel_tracker_file_path ] # If we don't know the number of components, check the tracker file. if num_components is None : tracker_file = None try : tracker_file = open ( parallel_tracker_file_path , 'r' ) num_components = json . load ( tracker_file ) [ 'num_components' ] except ( IOError , ValueError ) : return tracker_file_paths finally : if tracker_file : tracker_file . close ( ) for i in range ( num_components ) : tracker_file_paths . append ( GetTrackerFilePath ( dst_url , TrackerFileType . DOWNLOAD_COMPONENT , api_selector , component_num = i ) ) return tracker_file_paths