G.4 Depth
Prev | Appendix G. Core selectors | Next

## G.4 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 G.4: 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

Prev | Up | Next
G.3 Depend | Home | G.5 Filename