feat(file): support tbz extraction format alias#10403
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR adds ChangesTarBz2 extension alias support
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
Greptile SummaryThis PR adds
Confidence Score: 5/5Safe to merge — the change is a one-line additive alias with no modifications to existing behavior. Adding a third No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "feat(file): support tbz extraction forma..." | Re-trigger Greptile |
Summary
tbzas an alias forExtractionFormat::TarBz2foo.tbzfilename detection andfrom_ext("tbz")Context
This is the first follow-up after #10275. That PR stayed as a pure rename refactor; this PR carries the separate behavior change for the
tbztar.bz2 shorthand.Branched from latest
upstream/main.Test plan
mise x cargo -- cargo test file::tests::test_extraction_format_from_file_namemise x cargo -- cargo fmt --all -- --checkSummary by CodeRabbit
New Features
.tbzas an additional recognized file extension for TarBz2 compressed archives, providing users with an extra shorthand option alongside the existing.tar.bz2and.tbz2extensions.Tests
.tbzfiles.