| Chuck Burgess 2007-07-20, 7:03 pm |
| On 7/19/07, Sebastian Mendel <lists@sebastianmendel.de> wrote:
>
> why does it list all files and tells me they are ignored if i say
>
> ignore = /www/path/documentation/*
>
> File /www/path/documentation/file Ignored
> File /www/path/documentation/path/file Ignored
> ...
> File /www/path/documentation/path123/File10285 Ignored
> ...
>
> isn't it a waste of time to iterate into this directory if i told them to
> ignore it?
>
I think this is how PhpDocumentor has always behaved... my assumption has
been that it wants to be sure you realize exactly what it had skipped, hence
the explicit warning messages coded into the logic.
I can see your point though, as a performance issue, especially if I had say
twenty directories that each had a thousand files, and I wanted it to skip
five of the directories. That would make for a ton of "ignored" lines and
the lost time it used scanning those directories, and force me into using
the -d with an explicit list of directories I wanted included rather than
just using -i to list the few dirs I wanted excluded.
I wonder if that would be a feasible enhancement for 1.5...
--
CRB
Let me introduce you to my very own DMCA-protected encryption key:
BC 1B 64 4A 8D DE 49 E8 C3 7D CC EE 1A AD EE F5
(compliments of Freedom-to-Tinker http://www.freedom-to-tinker.com/?p=1155)
|