Skip to content

chore: update boxo to remove io.Seeker from files.File#11254

Draft
lidel wants to merge 1 commit intomasterfrom
fix/boxo-files-remove-seeker-from-file-interface
Draft

chore: update boxo to remove io.Seeker from files.File#11254
lidel wants to merge 1 commit intomasterfrom
fix/boxo-files-remove-seeker-from-file-interface

Conversation

@lidel
Copy link
Member

@lidel lidel commented Mar 26, 2026

Warning

dont merge, this is for illustrative purpose only

This PR updates boxo to ipfs/boxo#1128 which removes io.Seeker from the files.File interface.
The goal is to see what happens. Callers that need seeking now type-assert to io.Seeker.

Turns our we dont have that many?

  • core/commands/cat: type-assert before seeking
  • core/coreiface/tests: type-assert before seeking

TODO

Update boxo to ipfs/boxo#1128 which removes io.Seeker from the
files.File interface. Callers that need seeking now type-assert
to io.Seeker.

- core/commands/cat: type-assert before seeking
- core/coreiface/tests: type-assert before seeking
@lidel lidel added the skip/changelog This change does NOT require a changelog entry label Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip/changelog This change does NOT require a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant