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

Function downloadFirstAppBits

integration/helpers/package.go:82–86  ·  view source on GitHub ↗
(appName string, tmpZipFilepath string)

Source from the content-addressed store, hash-verified

80}
81
82func downloadFirstAppBits(appName string, tmpZipFilepath string) {
83 appGUID := AppGUID(appName)
84 session := CF("curl", fmt.Sprintf("/v2/apps/%s/download", appGUID), "--output", tmpZipFilepath)
85 Eventually(session).Should(Exit(0))
86}

Callers 1

Calls 2

AppGUIDFunction · 0.85
CFFunction · 0.85

Tested by

no test coverage detected