MCPcopy Create free account
hub / github.com/cloudfoundry/multiapps-cli-plugin / getPath

Function getPath

util/builders.go:95–101  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

93}
94
95func getPath(path string) string {
96 if strings.HasPrefix(path, "/") {
97 return path
98 }
99
100 return "/" + path
101}

Callers 1

BuildMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected