Open discordier opened 11 years ago
According to our call you wan't recursive glob patterns like lib/**
, not recursive listing with globing.
When you are working on this, you might want to look into the Symfony Finder improvements.
http://symfony.com/blog/new-in-symfony-2-2-finder-improvements https://gist.github.com/jfsimon/3230139 https://github.com/symfony/symfony/pull/4061
They are using native commands where available instead of the PHP functions.
We need to check the performance and implementation details.
listFiles() should not fetch all files and filter them after then.
For slow FS this is plain evil.
i.e.: glob = lib/*
FTP fetches all dirs in root but could rule all except fot /lib out forehand.