(version string)
| 2004 | } |
| 2005 | |
| 2006 | func getMajorVersion(version string) string { |
| 2007 | parts := strings.Split(version, ".") |
| 2008 | if len(parts) >= 2 { |
| 2009 | return parts[0] + "." + parts[1] |
| 2010 | } |
| 2011 | return version |
| 2012 | } |
| 2013 | |
| 2014 | func ignoreUpdate(installed model.AppInstall) bool { |
| 2015 | if installed.App.Type == "php" || installed.Status == constant.StatusInstalling { |
no outgoing calls
no test coverage detected