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

Function NewCloudControllerBuildpackBitsRepository

cf/api/buildpack_bits.go:43–48  ·  view source on GitHub ↗
(config coreconfig.Reader, gateway net.Gateway, zipper appfiles.Zipper)

Source from the content-addressed store, hash-verified

41}
42
43func NewCloudControllerBuildpackBitsRepository(config coreconfig.Reader, gateway net.Gateway, zipper appfiles.Zipper) (repo CloudControllerBuildpackBitsRepository) {
44 repo.config = config
45 repo.gateway = gateway
46 repo.zipper = zipper
47 return
48}
49
50func zipErrorHelper(err error) error {
51 return fmt.Errorf("%s: %s", T("Couldn't write zip file"), err.Error())

Callers 2

NewRepositoryLocatorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected