dev/RepoController.php
public function actionRemove($repo)
    {
        FileHelper::removeDirectory($this->getFilesystemRepoPath($repo));
        $clones = $this->getConfig(self::CONFIG_VAR_CUSTOMCLONES, []);
        if (isset($clones[$repo])) {
            unset($clones[$repo]);
            $this->saveConfig(self::CONFIG_VAR_CUSTOMCLONES, $clones);
        }
        
        return $this->outputSuccess("Removed repo {$repo}.");
    }
public function actionRemove($repo)
    {
        FileHelper::removeDirectory($this->getFilesystemRepoPath($repo));
        $clones = $this->getConfig(self::CONFIG_VAR_CUSTOMCLONES, []);
        if (isset($clones[$repo])) {
            unset($clones[$repo]);
            $this->saveConfig(self::CONFIG_VAR_CUSTOMCLONES, $clones);
        }
        
        return $this->outputSuccess("Removed repo {$repo}.");
    }
public function actionRemove ( $ repo ) { FileHelper :: removeDirectory ( $ this -> getFilesystemRepoPath ( $ repo ) ) ; $ clones = $ this -> getConfig ( self :: CONFIG_VAR_CUSTOMCLONES , [ ] ) ; if ( isset ( $ clones [ $ repo ] ) ) { unset ( $ clones [ $ repo ] ) ; $ this -> saveConfig ( self :: CONFIG_VAR_CUSTOMCLONES , $ clones ) ; } return $ this -> outputSuccess ( "Removed repo {$repo}." ) ; }
Remove a given repo from filesystem.

@param string $repo The repo name like `luya-module-cms` without vendor.
Remove a given repo from filesystem .