package service_definition import ( "strings" ) func GetPathType(path string) string { if strings.HasPrefix(path, "git+") { return "git" } return "file" }