MCPcopy
hub / github.com/cloudfoundry/cli / CreatePluginHome

Method CreatePluginHome

util/configv3/plugins_config.go:93–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91}
92
93func (config *Config) CreatePluginHome() error {
94 return os.MkdirAll(config.PluginHome(), 0700)
95}
96
97// GetPlugin returns the requested plugin and true if it exists.
98func (config *Config) GetPlugin(pluginName string) (Plugin, bool) {

Callers 2

executionWrapperMethod · 0.80

Implementers 1

FakeConfigcommand/commandfakes/fake_config.go

Calls 1

PluginHomeMethod · 0.95

Tested by

no test coverage detected