public @Nullable ChangesCacheFile haveCache(@NotNull RepositoryLocation location) {
    String key = location.getKey();
    ChangesCacheFile result = cacheFiles.get(key);
    if (result == null) {
      String keyWithSlash = key.endsWith("/") ? key : key + "/";
      String cachedSimilarKey = find(cacheFiles.keySet(), s -> keyWithSlash.startsWith(s) || s.startsWith(keyWithSlash));
      result = cachedSimilarKey != null ? cacheFiles.get(cachedSimilarKey) : null;
    }

    return result;
  }
public @Nullable ChangesCacheFile haveCache(@NotNull RepositoryLocation location)