[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
There are no open issues
pprkut
  1. 
      
  2. The issue has been resolved. Show all issues
    rmdir() doesn't work?
  3. The issue has been resolved. Show all issues
    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
  4. The issue has been resolved. Show all issues
    use touch() for empty files
  5. The issue has been resolved. Show all issues
    Can you feed a data provider into this test and make sure it also works with other values?
  6. 
      
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. The issue has been resolved. Show all issues
    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...