boolean (@NotNull FilePath file) { VcsRoot vcsRoot = ProjectLevelVcsManager.getInstance(myProject).getVcsRootObjectFor(file); if (vcsRoot == null) return false; return ReadAction.compute(() -> { synchronized (myDataLock) { return myComposite.getIgnoredFileHolder().containsFile(file, vcsRoot); } }); }