original_string: public function delete()
      {
          if (!$this->exists()) {
              return false;
          }
          if ($this->isDir()) {
              return rmdir($this->absoluteFileName);
          }
  
          return unlink($this->absoluteFileName);
      }
code: public function delete()
      {
          if (!$this->exists()) {
              return false;
          }
          if ($this->isDir()) {
              return rmdir($this->absoluteFileName);
          }
  
          return unlink($this->absoluteFileName);
      }
code_tokens: public function delete ( ) { if ( ! $ this -> exists ( ) ) { return false ; } if ( $ this -> isDir ( ) ) { return rmdir ( $ this -> absoluteFileName ) ; } return unlink ( $ this -> absoluteFileName ) ; }
docstring: tries to delete a file
  @return bool
docstring_tokens: tries to delete a file