void (@NotNull VcsDirtyScope dirtyScope, @NotNull final ChangelistBuilder builder, @NotNull ProgressIndicator progress, @NotNull ChangeListManagerGate addGate) { for (FilePath path : dirtyScope.getDirtyFiles()) { builder.processUnversionedFile(path); } final Processor<VirtualFile> processor = vf -> { builder.processUnversionedFile(VcsUtil.getFilePath(vf)); return true; }; for (FilePath dir : dirtyScope.getRecursivelyDirtyDirectories()) { VfsUtilCore.processFilesRecursively(dir.getVirtualFile(), processor); } }