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

Function NewPath

integration/helpers/name_generator.go:157–159  ·  view source on GitHub ↗

NewPath provides a random path prefixed with /PATH

()

Source from the content-addressed store, hash-verified

155
156// NewPath provides a random path prefixed with /PATH
157func NewPath() string {
158 return PrefixedRandomName("/PATH")
159}
160
161// PrefixedRandomName provides a random name with structure "namePrefix-randomstring"
162func PrefixedRandomName(namePrefix string) string {

Calls 1

PrefixedRandomNameFunction · 0.85

Tested by

no test coverage detected