You are viewing a plain text version of this content. The canonical link for it is here.
Posted to zeta-issues@incubator.apache.org by "Damien Pobel (JIRA)" <ji...@apache.org> on 2011/07/28 07:19:09 UTC

[jira] [Created] (ZETACOMP-85) Make ezcBaseFile::walkRecursive() (or another method) able to apply excludeFilters on directories

Make ezcBaseFile::walkRecursive() (or another method) able to apply excludeFilters on directories
-------------------------------------------------------------------------------------------------

                 Key: ZETACOMP-85
                 URL: https://issues.apache.org/jira/browse/ZETACOMP-85
             Project: Zeta Components
          Issue Type: Improvement
          Components: Base
            Reporter: Damien Pobel


The current (and from the comments of the method intended) behaviour of ezcBaseFile::walkRecursive() is to recursively search for files by applying an include and/or an exclude filters on files only. This works fine but in some cases it would be nice to be able to apply an exclude filters on directories as well. For instance, in eZ Publish, we use this method to generate the autoload array and if you have a lots non-php files somewhere in your installation, this process takes several minutes because you cannot exclude folders to be scanned. (see http://issues.ez.no/18377).

I think that another method (or the same one with more parameters) would be interesting to allow this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira