MCPcopy Create free account
hub / github.com/modelscope/modelscope / tell

Method tell

modelscope/hub/commit_scheduler.py:358–359  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

356 raise NotImplementedError(f"PartialFileIO does not support '{name}'.")
357
358 def tell(self) -> int:
359 return self._file.tell()
360
361 def seek(self, __offset: int, __whence: int = SEEK_SET) -> int:
362 """Seek to a position in the file, but never beyond size_limit."""

Callers 7

readMethod · 0.95
get_file_sizeFunction · 0.80
__post_init__Method · 0.80
as_fileMethod · 0.80
http_get_fileFunction · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by 1