MCPcopy Index your code
hub / github.com/cloudfoundry/cli / normalizedPath

Function normalizedPath

cf/api/routes.go:63–69  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

61}
62
63func normalizedPath(path string) string {
64 if path != "" && !strings.HasPrefix(path, `/`) {
65 return `/` + path
66 }
67
68 return path
69}
70
71func queryStringForRouteSearch(host, guid, path string, port int) string {
72 args := []string{

Callers 4

CheckIfExistsMethod · 0.85
CreateInSpaceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected