def isGitInstalledWin()

in GuestivusLib/GuestivusLib.py [0:0]


    def isGitInstalledWin(self):
        self.error = ""
        procComp =  self.execGit("--version")
        if(procComp.stdout.startswith("git")):
            # Extract version
            self.gitVersion = procComp.stdout.split(" ")[2]
            return(True) # Git installed

        self.error = errors.gitNotInstalled
        return(False) # Git not installed