Skip to content

Support TinyGo archive readers - #48

Merged
andrew merged 2 commits into
mainfrom
tinygo-extraction
Sep 26, 2026
Merged

andrew merged 2 commits into
mainfrom
tinygo-extraction

Conversation

@andrew

@andrew andrew commented Sep 26, 2026

Copy link
Copy Markdown
Contributor

TinyGo lacks os.Root, so importing archives fails even for in-memory reads. Keep the disk extraction implementation behind !tinygo and return an error wrapping errors.ErrUnsupported from ExtractAll under TinyGo.

Keep shared options, error values and file modes available on both builds. Add a regression test that reads a ZIP after disk extraction is rejected, plus CI checks for the tagged stub and standard Go WebAssembly builds.

Copilot AI lite review requested due to automatic review settings September 26, 2026 08:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@andrew
andrew merged commit 79c1a8c into main Sep 26, 2026
8 checks passed
@andrew
andrew deleted the tinygo-extraction branch September 26, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants