MCPcopy
hub / github.com/django/django / seek

Method seek

tests/responses/test_fileresponse.py:59–60  ·  view source on GitHub ↗
(self, offset, whence=io.SEEK_SET)

Source from the content-addressed store, hash-verified

57 return self._file.read(n_bytes)
58
59 def seek(self, offset, whence=io.SEEK_SET):
60 return self._file.seek(offset, whence)
61
62 def seekable(self):
63 return True

Callers 15

_post_processMethod · 0.80
compress_kmlFunction · 0.80
readMethod · 0.80
set_headersMethod · 0.80
bodyMethod · 0.80
touchMethod · 0.80
file_completeMethod · 0.80
handle_raw_inputMethod · 0.80
file_completeMethod · 0.80
get_image_dimensionsFunction · 0.80
sizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected