MCPcopy Index your code
hub / github.com/AstrBotDevs/AstrBot / seek

Method seek

astrbot/api/web.py:149–155  ·  view source on GitHub ↗

Move the uploaded file cursor. Args: offset: Absolute byte offset.

(self, offset: int)

Source from the content-addressed store, hash-verified

147 await self._upload_file.write(data)
148
149 async def seek(self, offset: int) -> None:
150 """Move the uploaded file cursor.
151
152 Args:
153 offset: Absolute byte offset.
154 """
155 await self._upload_file.seek(offset)
156
157 async def close(self) -> None:
158 """Close the uploaded file."""

Callers 9

tencent_silk_to_wavFunction · 0.80
saveMethod · 0.80
saveMethod · 0.80
_file_tupleMethod · 0.80
export_conversationsMethod · 0.80
_export_responseFunction · 0.80
saveMethod · 0.80

Calls

no outgoing calls