I'm looking for a way to undo changes in selected directory, analogue of
git checkout [folder-path] in Magit.
I found that I can reset changes of specific file to selected branch by typing
X f in magit-status, but I didn't find a way to do the same for folders.
Is there a way to achieve that in Magit?