void (@NotNull Project project, @NotNull List<? extends FilePath> affectedFiles) { final VcsDirtyScopeManager dirty = VcsDirtyScopeManager.getInstance(project); for (FilePath file : affectedFiles) { if (file.isDirectory()) { dirty.dirDirtyRecursively(file); } else { dirty.fileDirty(file); } } }