Do executes the "storage.objects.copy" call. Exactly one of *Object or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Object.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
Do is referenced in 9 repositoriescode.googlesource.com/gocloud
- 1 reference in storage/storage.go
- 1 reference in src/google.golang.org/cloud/storage/storage.go
- 1 reference in cloud.google.com/go/storage/storage.go