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

Function setHomeDirsTo

integration/helpers/config.go:57–62  ·  view source on GitHub ↗
(homeDir string, pluginHomeDir string)

Source from the content-addressed store, hash-verified

55}
56
57func setHomeDirsTo(homeDir string, pluginHomeDir string) {
58 GinkgoWriter.Write([]byte(fmt.Sprintln("\nHOME DIR>", homeDir)))
59
60 Expect(os.Setenv("CF_HOME", homeDir)).To(Succeed())
61 Expect(os.Setenv("CF_PLUGIN_HOME", pluginHomeDir)).To(Succeed())
62}
63
64// SetupSynchronizedSuite runs a setup function in its own CF context, creating
65// and destroying a home directory around it.

Callers 2

SetHomeDirFunction · 0.85
WithRandomHomeDirFunction · 0.85

Calls 1

WriteMethod · 0.80

Tested by

no test coverage detected