def localRootIsRepo()

in GuestivusLib/GuestivusLib.py [0:0]


    def localRootIsRepo(self):
        if(not self.localRootExists()):
            return(False)

        self.error = ""
        procComp =  self.execGit("branch")
        if(procComp.stdout.startswith("fatal:")):
            self.error = errors.localPathNotGitRepo
            return(False)

        return(True)