MCPcopy
hub / github.com/django/django / file_complete

Method file_complete

django/core/files/uploadhandler.py:179–182  ·  view source on GitHub ↗
(self, file_size)

Source from the content-addressed store, hash-verified

177 self.file.write(raw_data)
178
179 def file_complete(self, file_size):
180 self.file.seek(0)
181 self.file.size = file_size
182 return self.file
183
184 def upload_interrupted(self):
185 if hasattr(self, "file"):

Callers

nothing calls this directly

Calls 1

seekMethod · 0.80

Tested by

no test coverage detected