Skip to content

Replace hard-coded 512 with BLOCK_SIZE#394

Merged
cgwalters merged 1 commit into
composefs:mainfrom
xzfc:block-size
Dec 9, 2024
Merged

Replace hard-coded 512 with BLOCK_SIZE#394
cgwalters merged 1 commit into
composefs:mainfrom
xzfc:block-size

Conversation

@xzfc
Copy link
Copy Markdown
Collaborator

@xzfc xzfc commented Dec 9, 2024

Extracted from #298. Unlike the original PR, I made the new constant u64 instead of usize to reduce amount of type casts.

Co-authored-by: ncihnegn <ncihnegn@users.noreply.github.com>
@xzfc xzfc requested a review from cgwalters December 9, 2024 22:20
Copy link
Copy Markdown
Collaborator

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

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

Nice!

@cgwalters cgwalters merged commit b6c5024 into composefs:main Dec 9, 2024
charliermarsh added a commit to astral-sh/tokio-tar that referenced this pull request Feb 5, 2025
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