Name : perl-Path-Iterator-Rule
| |
Version : 1.15.0
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 150500.1.1
| Date : 2024-08-16 23:24:36
|
Group : Unspecified
| Source RPM : perl-Path-Iterator-Rule-1.15.0-150500.1.1.src.rpm
|
Size : 0.14 MB
| |
Packager : https://www_suse_com/
| |
Summary : Iterative, recursive file finder
|
Description :
This module iterates over files and directories to identify ones matching a user-defined set of rules. The API is based heavily on File::Find::Rule, but with more explicit distinction between matching rules and options that influence how directories are searched. A \'Path::Iterator::Rule\' object is a collection of rules (match criteria) with methods to add additional criteria. Options that control directory traversal are given as arguments to the method that generates an iterator.
Here is a summary of features for comparison to other file finding modules:
* provides many \"helper\" methods for specifying rules
* offers (lazy) iterator and flattened list interfaces
* custom rules implemented with callbacks
* breadth-first (default) or pre- or post-order depth-first searching
* follows symlinks (by default, but can be disabled)
* directories visited only once (no infinite loop; can be disabled)
* doesn\'t chdir during operation
* provides an API for extensions
As a convenience, the PIR module is an empty subclass of this one that is less arduous to type for one-liners.
*Note*: paths are constructed with unix-style forward-slashes for efficiency rather than using File::Spec. If proper path separators are needed, call canonpath on the search results.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/SLE_15_SP5/noarch |