tools/mpremote: Add tell() support for remote mounted files. by dpgeorge · Pull Request #19663 · micropython/micropython · GitHub
Skip to content

tools/mpremote: Add tell() support for remote mounted files. - #19663

Open
dpgeorge wants to merge 1 commit into
micropython:masterfrom
dpgeorge:tools-mpremote-add-remote-file-tell
Open

dpgeorge wants to merge 1 commit into
micropython:masterfrom
dpgeorge:tools-mpremote-add-remote-file-tell

Conversation

@dpgeorge

Copy link
Copy Markdown
Member

Summary

This allows .tell() to be executed on remote mounted files, reusing the existing .seek() for simple implementation.

This is intended to replace #18298.

Testing

Added a test, it passes on PYBV10.

Trade-offs and Alternatives

#18298 implements this in a different, more complex way.

Generative AI

I did not use generative AI tools when creating this PR.

This allows `.tell()` to be executed on remote mounted files, reusing the
existing `.seek()` for simple implementation.

Signed-off-by: Damien George <damien@micropython.org>
@dpgeorge dpgeorge added the tools Relates to tools/ directory in source, or other tooling label Aug 28, 2026
@codecov

codecov Bot commented Aug 28, 2026

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tools Relates to tools/ directory in source, or other tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant