boolean (@NotNull List<VcsLogDetailsFilter> filters) { if (filters.isEmpty()) return false; return ContainerUtil.all(filters, filter -> { if (filter instanceof VcsLogTextFilter || filter instanceof VcsLogUserFilter) { return true; } if (filter instanceof VcsLogStructureFilter) { Collection<FilePath> files = ((VcsLogStructureFilter)filter).getFiles(); return ContainerUtil.find(files, file -> file.isDirectory() && myProviders.containsKey(file.getVirtualFile())) == null; } return false; }); }