MCPcopy Create free account
hub / github.com/aws/aws-cli / provide_transfer_size

Method provide_transfer_size

awscli/s3transfer/futures.py:158–165  ·  view source on GitHub ↗

A method to provide the size of a transfer request By providing this value, the TransferManager will not try to call HeadObject or use the use OS to determine the size of the transfer.

(self, size)

Source from the content-addressed store, hash-verified

156 return self._etag
157
158 def provide_transfer_size(self, size):
159 """A method to provide the size of a transfer request
160
161 By providing this value, the TransferManager will not try to
162 call HeadObject or use the use OS to determine the size of the
163 transfer.
164 """
165 self._size = size
166
167 def provide_object_etag(self, etag):
168 """A method to provide the etag of a transfer request

Calls

no outgoing calls