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

Method get_file_size

awscli/s3transfer/utils.py:255–256  ·  view source on GitHub ↗
(self, filename)

Source from the content-addressed store, hash-verified

253 _MAX_FILENAME_LEN = 255
254
255 def get_file_size(self, filename):
256 return os.path.getsize(filename)
257
258 def open_file_chunk_reader(self, filename, start_byte, size, callbacks):
259 return ReadFileChunk.from_filename(

Callers 2

provide_transfer_sizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected