Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
stalwartlabs
/
mail-parser
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
64
Star
458
Code
Issues
13
Pull requests
18
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Logic simplification, closing distance to #68 and #71
- #99
#99
Open
sftse
wants to merge 17 commits into
stalwartlabs:main
stalwartlabs/mail-parser:main
from
sftse:refactors
sftse/mail-parser:refactors
Copy head branch name to clipboard
Conversation
Commits
17
(17)
Checks
Files changed
Open
Logic simplification, closing distance to #68 and #71
#99
sftse
wants to merge 17 commits into
stalwartlabs:main
stalwartlabs/mail-parser:main
from
sftse:refactors
sftse/mail-parser:refactors
Copy head branch name to clipboard
Commits
Commits on Feb 4, 2025
Switch if-else branches
sftse
committed
7b55b9e
View commit details
Copy full SHA for 7b55b9e
Browse repository at this point
Lift condition for attachments out of the if-else
sftse
committed
68b9739
View commit details
Copy full SHA for 68b9739
Browse repository at this point
Simplify expression: (A || !A && B) == (A || B)
sftse
committed
c560bb1
View commit details
Copy full SHA for c560bb1
Browse repository at this point
clippy
sftse
committed
026e09b
View commit details
Copy full SHA for 026e09b
Browse repository at this point
If left and right argument to || are false, simply overwrite again with false
sftse
committed
7d3cfa5
View commit details
Copy full SHA for 7d3cfa5
Browse repository at this point
Remove needless branching
sftse
committed
3b37a68
View commit details
Copy full SHA for 3b37a68
Browse repository at this point
fmt
sftse
committed
01687f0
View commit details
Copy full SHA for 01687f0
Browse repository at this point
Switch if else branches
sftse
committed
c1eb871
View commit details
Copy full SHA for c1eb871
Browse repository at this point
Pattern matching
sftse
committed
7b79d09
View commit details
Copy full SHA for 7b79d09
Browse repository at this point
When no addresses are present, may as well take them
sftse
committed
10ceae1
View commit details
Copy full SHA for 10ceae1
Browse repository at this point
Equivalence transform branches
sftse
committed
b1c6251
View commit details
Copy full SHA for b1c6251
Browse repository at this point
Revert asserts
sftse
committed
b9c5823
View commit details
Copy full SHA for b9c5823
Browse repository at this point
Switch disjoint if else branches
sftse
committed
d44363c
View commit details
Copy full SHA for d44363c
Browse repository at this point
Merge common branches
sftse
committed
8fb69ff
View commit details
Copy full SHA for 8fb69ff
Browse repository at this point
Equivalence transform
sftse
committed
6bf5a9a
View commit details
Copy full SHA for 6bf5a9a
Browse repository at this point
Use early return
sftse
committed
d5ece85
View commit details
Copy full SHA for d5ece85
Browse repository at this point
clippy
sftse
committed
86d5e4e
View commit details
Copy full SHA for 86d5e4e
Browse repository at this point
You can’t perform that action at this time.