| 1 |
Source: libpath-iterator-rule-perl |
| 2 |
Section: perl |
| 3 |
Priority: optional |
| 4 |
Build-Depends: |
| 5 |
debhelper-compat (= 13), |
| 6 |
libnumber-compare-perl <!nocheck>, |
| 7 |
libtext-glob-perl <!nocheck>, |
| 8 |
libtry-tiny-perl <!nocheck>, |
| 9 |
libfile-pushd-perl <!nocheck>, |
| 10 |
libpath-tiny-perl <!nocheck>, |
| 11 |
libtest-deep-perl <!nocheck>, |
| 12 |
libtest-filename-perl <!nocheck>, |
| 13 |
libcpan-meta-perl <!nocheck>, |
| 14 |
libcpan-meta-requirements-perl <!nocheck>, |
| 15 |
Maintainer: Debian Perl Group <[email protected]> |
| 16 |
Uploaders: Jonas Smedegaard <[email protected]> |
| 17 |
Standards-Version: 4.6.1 |
| 18 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libpath-iterator-rule-perl.git |
| 19 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libpath-iterator-rule-perl |
| 20 |
Homepage: https://github.com/dagolden/Path-Iterator-Rule |
| 21 |
Testsuite: autopkgtest-pkg-perl |
| 22 |
Rules-Requires-Root: no |
| 23 |
|
| 24 |
Package: libpath-iterator-rule-perl |
| 25 |
Architecture: all |
| 26 |
Depends: |
| 27 |
libnumber-compare-perl, |
| 28 |
libtext-glob-perl, |
| 29 |
libtry-tiny-perl, |
| 30 |
${misc:Depends}, |
| 31 |
${perl:Depends} |
| 32 |
Multi-Arch: foreign |
| 33 |
Description: iterative, recursive file finder |
| 34 |
Path::Iterator::Rule iterates over files and directories |
| 35 |
to identify ones matching a user-defined set of rules. |
| 36 |
The API is based heavily on File::Find::Rule, |
| 37 |
but with more explicit distinction between matching rules |
| 38 |
and options that influence how directories are searched. |
| 39 |
A Path::Iterator::Rule object is a collection of rules (match criteria) |
| 40 |
with methods to add additional criteria. |
| 41 |
Options that control directory traversal are given as arguments |
| 42 |
to the method that generates an iterator. |
| 43 |
. |
| 44 |
Here is a summary of features |
| 45 |
for comparison to other file finding modules: |
| 46 |
* provides many "helper" methods for specifying rules |
| 47 |
* offers (lazy) iterator and flattened list interfaces |
| 48 |
* custom rules implemented with callbacks |
| 49 |
* breadth-first (default) or pre- or post-order depth-first searching |
| 50 |
* follows symlinks (by default, but can be disabled) |
| 51 |
* directories visited only once (no infinite loop; can be disabled) |
| 52 |
* doesn't chdir during operation |
| 53 |
* provides an API for extensions |
| 54 |
. |
| 55 |
As a convenience, the PIR module is an empty subclass of this one |
| 56 |
that is less arduous to type for one-liners. |