• MODX.com

    1,223 downloads

DirWalker

DirWalker is an extra by bobray, first released on 2023-01-19.

Package Description

DirWalker is a class for recursively traversing directories. You can exclude directories by name and you can include or exclude files either by string or by regular expression.

The files can be retrieved from the class after the search or each file can be processed in any way as it is found. DirWalker lets you list files in directories, and optionally recurse through descendant directories. In the process, you can also perform actions on the files (for example, search, or search-and-replace). The MyComponent extra uses dirwalker extensively to look for things that should be included in an extra's transport package.

Usage/Installation Instructions

Install with Package Manager. See the documentation at Bob's Guides.

Details

Developer(s)
bobray
Released
2023-01-19
First seen
2023-01-19
License
GPLv2
Supported databases
Minimum MODX Requirement
2.0

DirWalker Releases

Vendor Signature Released on
MODX.com 1.0.3-pl 2023-01-19 (1 year ago)
MODX.com 1.0.0-pl 2014-01-27 (10 years ago)