class HelmPathUtils extends ComponentSupport {

  @Nullable
  public String contentFileUrl(
      final String filename,
      final Content indexYaml)
  {
    String chartName = getChartName(filename);
    String chartVersion = getChartVersion(filename);
    return urlRewriter.getFirstUrl(indexYaml, chartName, chartVersion).orElse(null);
  }

  @Inject public  HelmPathUtils(final IndexYamlAbsoluteUrlRewriter urlRewriter);

}