boolean (@NotNull VcsDirectoryMapping mapping) { if (mapping.isDefaultMapping()) return false; VirtualFile file = LocalFileSystem.getInstance().findFileByPath(mapping.getDirectory()); return file != null && (myChangeListManager.isIgnoredFile(file) || ReadAction.compute(() -> myProjectFileIndex.isExcluded(file))); }