wolfhong / formic

Better File Fuzzy Searching Tools. Formic is a Python implementation of Apache Ant FileSet and Globs.
https://formic.readthedocs.io/
GNU General Public License v3.0
3 stars 0 forks source link

Include empty directories #3

Open wolfhong opened 6 years ago

wolfhong commented 6 years ago

I'd like the fileset to include empty directories. Currently if the directory is empty, it is not reported in the fileset. I'm using python, using an include of:

"/log/"

And the /log directory is empty, so it is not included in the fileset enumeration. This would be something equivalent to the ant option "includeEmptyDirs" on the Copy command: http://ant.apache.org/manual/Tasks/copy.html

I'm not deeply familiar with Ant but have used FileSet-style patterns in Jenkins, so this could be my misunderstanding.

wolfhong commented 6 years ago

According to http://ant.apache.org/manual/Types/fileset.html , includeEmptyDirs option is not mentioned. So this feature is temporarily not considered for joining.