MCPcopy Create free account
hub / github.com/cloudfoundry/cli / FindPath

Method FindPath

cf/actors/routes.go:152–155  ·  view source on GitHub ↗
(routeName string)

Source from the content-addressed store, hash-verified

150}
151
152func (routeActor routeActor) FindPath(routeName string) (string, string) {
153 routeSlice := strings.Split(routeName, "/")
154 return routeSlice[0], strings.Join(routeSlice[1:], "/")
155}
156
157func (routeActor routeActor) FindPort(routeName string) (string, int, error) {
158 var err error

Callers 1

FindAndBindRouteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected