Hi, Attached is a patch implementing a <type> Selector, which lets one select only directories: <filetype src="${src}"> <type type="dir"/> </filetype> Or only regular files, with <type type="file"/> I found this useful in conjunction with the <different> selector, which regards directories as always different. Possibly this is a separate bug, but I thought a generic 'type' selector would be a useful addition anyway. The idea of a 'type' selector could easily be extended further to include: - is file readable - is file writeable - file exists - file is hidden Feedback on whether/how to do this appreciated. Thanks, --Jeff
Created attachment 6482 [details] Patch implementing and documenting TypeSelector
I am working on your contribution, creating a testcase for it.
patches submitted, thanks.
Looks fine. Thanks for applying --Jeff