Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref(chunks): Make ChunkOptions a struct #2314

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

szokeasaurusrex
Copy link
Member

Previously, ChunkOptions was implemented as a trait, but we realized it makes more sense to have it be a struct, instead. Now, as a struct, we also have ChunkOptions store the ChunkServerOptions, which will eventually allow us to simplify some API's, since we can take ChunkOptions only, rather than DIFUpload and ChunkServerOptions for methods such as upload_difs_chunked.

Base automatically changed from szokeasaurusrex/proguard-upload-8 to master December 16, 2024 15:31
Previously, `ChunkOptions` was implemented as a trait, but we realized it makes more sense to have it be a struct, instead. Now, as a struct, we also have `ChunkOptions` store the `ChunkServerOptions`, which will eventually allow us to simplify some API's, since we can take `ChunkOptions` only, rather than `DIFUpload` and `ChunkServerOptions` for methods such as `upload_difs_chunked`.
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/proguard-upload-9 branch from cf02c17 to 5a78717 Compare December 16, 2024 15:38
Copy link
Contributor

@loewenheim loewenheim left a comment

Choose a reason for hiding this comment

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

Much better IMO.

@szokeasaurusrex szokeasaurusrex merged commit b42e559 into master Dec 16, 2024
14 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/proguard-upload-9 branch December 16, 2024 15:49
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