I've noticed that "recurse => true, purge => true" on a file resource doesn't remove directories.
Only if you add "force => true" will it remove directories.
Currently, force isn't implemented in any modules, which causing problems for me.
What do you think would be the way to approach this?
a) Add a source_dir_force parameter.
b) Make source_dir_purge also set force on the source_dir resource.
c) Something else?
My preference goes to b.
The purge parameter clearly states the intention of the user to purge the contents of the directory.
Having to add yet another parameter to actually perform the request is counter-intuitive and confusing.