[Gravity] Recursive remove directory

Review Request #295 — Created April 18, 2014 and submitted

dinos
Lunr
dinostheo:RecursiveDirectoryDelete
lunr
Removes recursively a directory from the filesystem.
unit tests
  • 0
  • 0
  • 5
  • 0
  • 5
Description From Last Updated
pprkut
  1. 
      
  2. I don't like our test directory being called 'phpunit', because phpunit itself creates directories too and then we can't distinguish what comes from what. Please pick a different name
  3. use touch() for empty files
  4. Can you feed a data provider into this test and make sure it also works with other values?
  5. 
      
dinos
dinos
leo
  1. 
      
  2. I can see you're making a recursive call here.
    Question: any chance that php will use its native rmdir function here?
    1. It's not a recursive call :)
    2. it's the native rmdir :)
    3. alrighty then :)
  3. 
      
pprkut
  1. I'm missing a permissions error test, can you add one?
  2. can you add \stdClass() here?
  3. 
      
dinos
leo
  1. Ship It!
  2. 
      
pprkut
  1. Ship It!
  2. 
      
dinos
Review request changed

Status: Closed (submitted)

Change Summary:

Merged into master
Loading...