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

Method _main

awscli/s3transfer/download.py:776–786  ·  view source on GitHub ↗

Write data to a fileobj. Data will be written directly to the fileobj without any prior seeking. :param fileobj: The fileobj to write content to :param data: The data to write

(self, fileobj, data)

Source from the content-addressed store, hash-verified

774 """Task for writing data to a non-seekable stream."""
775
776 def _main(self, fileobj, data):
777 """Write data to a fileobj.
778
779 Data will be written directly to the fileobj without
780 any prior seeking.
781
782 :param fileobj: The fileobj to write content to
783 :param data: The data to write
784
785 """
786 fileobj.write(data)
787
788
789class IORenameFileTask(Task):

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected