MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/cloud-builders / fetchObject

Method fetchObject

gcs-fetcher/pkg/fetcher/fetcher.go:234–317  ·  view source on GitHub ↗

fetchObject is responsible for trying (and retrying) to fetch a single file from GCS. It first downloads the file to a temp file, then renames it to the final location and sets the permissions on the final file.

(ctx context.Context, j job)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 8

ensureFoldersMethod · 0.95
recordFailureMethod · 0.95
timeoutMethod · 0.95
recordSuccessMethod · 0.95
formatGCSNameFunction · 0.85
RenameMethod · 0.65
ChmodMethod · 0.65