Repository navigation
Check member policy in extension order - #328
Merged
Merged
Conversation
Merging this PR will not alter performance
Comparing Footnotes
|
woodruffw
marked this pull request as ready for review
November 10, 2026 22:15
woodruffw
force-pushed
the
ww/check-member-policy
branch
from
November 10, 2026 22:22
06baf39 to
1a4bc64
Compare
woodruffw
force-pushed
the
ww/check-member-policy
branch
from
November 10, 2026 22:30
1a4bc64 to
5bb5d5d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Match on the member's extension format once. For PAX, check each positioned extension in archive order. For a forbidden GNU member, report the earliest long-name or long-link header, falling back to the member header when it has neither.
The metadata integration tests exercise two cases where order matters. A forbidden global PAX header precedes a forbidden local vendor record, and a GNU long-link header precedes a long-name header.
Ran
cargo test --locked -p tar-codec --test members --test metadata.