KnpLabs/Gaufrette — pull request #77 by damienalexandre (2012-08-13 12:50:02+00:00)
Title: Local Adapter listDirectory method 

The Local Adapter doesn't had a `listDirectory` method and so the `keys()` method was used.

I'm storing a large number of files is sub directories, and I don't want to run a `RecursiveIteratorIterator` on all of those files to extract only a list of files from a specific directory, it's slow and consume lots of resources.

So here it is, the missing `listDirectory()` method,
based on what I've seen from the `FtpAdapter`, it simply list the current files and directories.

I have also added a little test to `LocalTest.php`. Let me know if this feature addition fit the projet philosophy.

Cheers!