original_string: public function removeAssets($moduleName)
      {
          $assets = $this->getAssetDirectory($moduleName);
  
          $this->files->deleteDirectory($assets);
          if ($this->files->exists($assets))
          {
              $this->errors->add('delete_assets', 'Unable to delete assets in: '.$assets);
              return false;
          }
          return true;
      }
code: public function removeAssets($moduleName)
      {
          $assets = $this->getAssetDirectory($moduleName);
  
          $this->files->deleteDirectory($assets);
          if ($this->files->exists($assets))
          {
              $this->errors->add('delete_assets', 'Unable to delete assets in: '.$assets);
              return false;
          }
          return true;
      }
code_tokens: public function removeAssets ( $ moduleName ) { $ assets = $ this -> getAssetDirectory ( $ moduleName ) ; $ this -> files -> deleteDirectory ( $ assets ) ; if ( $ this -> files -> exists ( $ assets ) ) { $ this -> errors -> add ( 'delete_assets' , 'Unable to delete assets in: ' . $ assets ) ; return false ; } return true ; }
docstring: Remove assets of a module
  
  @param string $moduleName
  @return bool
docstring_tokens: Remove assets of a module