in GuestivusLib/GuestivusLib.py [0:0]
def isLFSInstalledWin(self):
self.error = ""
procComp = self.execGit(["lfs", "--version"])
if(procComp.stdout.startswith("git-lfs")):
# Extract version
slashSplitParts = procComp.stdout.split("/")
self.lfsVersion = slashSplitParts[1].split(" ")[0]
return(True) # Git lfs installed
self.error = errors.lfsNotInstalled
return(False) # Git lfs not installed