boolean (@NotNull FilePath directory, @Nullable ContentRevision revision) { if (revision == null) return false; return VfsUtilCore.isAncestor(directory.getIOFile(), revision.getFile().getIOFile(), false); }