@Override
    public boolean isIgnoredFile(@NotNull Project project, @NotNull FilePath filePath) {
      IProjectStore store = ProjectKt.getStateStore(project);
      if (!ProjectKt.isDirectoryBased(project) && FileUtilRt.extensionEquals(filePath.getPath(), WorkspaceFileType.DEFAULT_EXTENSION)) {
        return true; // *.iws
      }

      if (StringsKt.equals(filePath.getPath(),
                           FileUtil.toSystemIndependentName(store.getWorkspacePath().toString()),
                           !SystemInfo.isFileSystemCaseSensitive)) {
        return true; // workspace.xml
      }

      if (isShelfDirOrInsideIt(filePath, project)) {
        return true; // .idea/shelf
      }

      return false;
    }
@Override
    public boolean isIgnoredFile(@NotNull Project project, @NotNull FilePath filePath)