boolean (@NotNull DiffContent content) { if (content instanceof EmptyContent) return true; if (content instanceof DocumentContent) return true; if (content instanceof FileContent) { VirtualFile file = ((FileContent)content).getFile(); if (DiffUtil.isFileWithoutContent(file)) return false; return true; } if (content instanceof DirectoryContent) return ((DirectoryContent)content).getFile().isInLocalFileSystem(); return false; }