symfony/symfony — pull request #6014 by amelard (2012-11-14 22:03:53+00:00)
Title: [Filesystem] [mirror] added "delete" option

Bug fix: no
Feature addition: yes
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets:
Todo: -
License of the code: MIT
Documentation PR: symfony/symfony-docs#123

I added a "delete" option to the mirror function. If set to TRUE, then
files present in target dir and not in origin dir will be removed.

Added also unit test for these feature.