MCPcopy Index your code
hub / github.com/aws/aws-cli / close

Method close

awscli/s3transfer/utils.py:566–570  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

564 self._amount_read = max(where - self._start_byte, 0)
565
566 def close(self):
567 if self._close_callbacks is not None and self._callbacks_enabled:
568 for callback in self._close_callbacks:
569 callback()
570 self._fileobj.close()
571
572 def tell(self):
573 return self._amount_read

Callers 9

test_close_callbacksMethod · 0.95
__exit__Method · 0.95
_extract_sdistFunction · 0.45
temporary_fileFunction · 0.45
closeMethod · 0.45
_mainMethod · 0.45
_mainMethod · 0.45

Calls

no outgoing calls

Tested by 3

test_close_callbacksMethod · 0.76
temporary_fileFunction · 0.36