Depth

The <depentry> tag selects files based on how many directory levels deep they are in relation to the base directory of the fileset.

<fileset dir="phing/classes" includes="**/*.php">
  <depth max="1"/>
</fileset>

Table 199.  Attributes for the <depentry> selector

Name Description Default Required
min The minimum number of directory levels below the base directory that a file must be in order to be selected. 0 One of the two
max The maximum number of directory levels below the base directory that a file can be and still be selected. 0