public function isBare()
    {
        $options = [RevParseCommand::OPTION_IS_BARE_REPOSIORY];
        $this->caller->execute(RevParseCommand::getInstance()->revParse(null, $options));

        return trim($this->caller->getOutput()) === 'true';
    }
public function isBare()
    {
        $options = [RevParseCommand::OPTION_IS_BARE_REPOSIORY];
        $this->caller->execute(RevParseCommand::getInstance()->revParse(null, $options));

        return trim($this->caller->getOutput()) === 'true';
    }
public function isBare ( ) { $ options = [ RevParseCommand :: OPTION_IS_BARE_REPOSIORY ] ; $ this -> caller -> execute ( RevParseCommand :: getInstance ( ) -> revParse ( null , $ options ) ) ; return trim ( $ this -> caller -> getOutput ( ) ) === 'true' ; }
Check if this is a bare repository

@return boolean
Check if this is a bare repository