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

Method SetStackRepository

cf/api/repository_locator.go:278–281  ·  view source on GitHub ↗
(repo stacks.StackRepository)

Source from the content-addressed store, hash-verified

276}
277
278func (locator RepositoryLocator) SetStackRepository(repo stacks.StackRepository) RepositoryLocator {
279 locator.stackRepo = repo
280 return locator
281}
282
283func (locator RepositoryLocator) GetStackRepository() stacks.StackRepository {
284 return locator.stackRepo

Callers 5

stack_test.goFile · 0.80
stacks_test.goFile · 0.80
push_test.goFile · 0.80
app_test.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected