List<VcsRootError> (@NotNull Collection<? extends VcsRootError> errors) { return filter(errors, error -> { VcsDirectoryMapping mapping = error.getMapping(); return error.getType() == UNREGISTERED_ROOT && !isIgnoredOrExcludedPath(mapping) && !isExplicitlyIgnoredPath(mapping) && !conflictsWithExistingMapping(mapping); }); }