original_string: public function convert() {
  
          try {
              $this->log('creating the target directory', backup::LOG_DEBUG);
              $this->create_workdir();
  
              $this->log('executing the conversion', backup::LOG_DEBUG);
              $this->execute();
  
              $this->log('replacing the source directory with the converted version', backup::LOG_DEBUG);
              $this->replace_tempdir();
          } catch (Exception $e) {
          }
  
          // clean-up stuff if needed
          $this->destroy();
  
          // eventually re-throw the execution exception
          if (isset($e) and ($e instanceof Exception)) {
              throw $e;
          }
      }
code: public function convert() {
  
          try {
              $this->log('creating the target directory', backup::LOG_DEBUG);
              $this->create_workdir();
  
              $this->log('executing the conversion', backup::LOG_DEBUG);
              $this->execute();
  
              $this->log('replacing the source directory with the converted version', backup::LOG_DEBUG);
              $this->replace_tempdir();
          } catch (Exception $e) {
          }
  
          // clean-up stuff if needed
          $this->destroy();
  
          // eventually re-throw the execution exception
          if (isset($e) and ($e instanceof Exception)) {
              throw $e;
          }
      }
code_tokens: public function convert ( ) { try { $ this -> log ( 'creating the target directory' , backup :: LOG_DEBUG ) ; $ this -> create_workdir ( ) ; $ this -> log ( 'executing the conversion' , backup :: LOG_DEBUG ) ; $ this -> execute ( ) ; $ this -> log ( 'replacing the source directory with the converted version' , backup :: LOG_DEBUG ) ; $ this -> replace_tempdir ( ) ; } catch ( Exception $ e ) { } // clean-up stuff if needed $ this -> destroy ( ) ; // eventually re-throw the execution exception if ( isset ( $ e ) and ( $ e instanceof Exception ) ) { throw $ e ; } }
docstring: Converts the backup directory
docstring_tokens: Converts the backup directory