private @NotNull Path getCachePath(@NotNull RepositoryLocation location) {
    Path file = getCacheBasePath();
    try {
      Files.createDirectories(file);
    }
    catch (IOException e) {
      throw new UncheckedIOException(e);
    }
    return file.resolve(hashToHexString(location.getKey(), DigestUtil.md5()));
  }
private @NotNull Path getCachePath(@NotNull RepositoryLocation location)