boolean (final VirtualFile vcsRoot, final VirtualFile file) { final String vcsUrl = vcsRoot.getUrl(); final MyRootFilter rootFilter = myOtherVcsFolders.get(vcsUrl); if ((rootFilter != null) && (!rootFilter.accept(file))) { return false; } return !isIgnoredByVcs(myVcsManager, myProject, file); }