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(dif): Replace ChunkedDifMatch with generic ChunkedObject #2284

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

szokeasaurusrex
Copy link
Member

So that we can reuse the code for chunk uploading difs for other file types as well, replace the ChunkedDifMatch struct with a similar, generic type called ChunkedObject.

The code path is not fully generic yet, but it is a step in the right direction.

ref #2195

src/utils/chunks/types.rs Outdated Show resolved Hide resolved
src/utils/chunks/types.rs Outdated Show resolved Hide resolved
src/utils/dif_upload.rs Show resolved Hide resolved
src/utils/chunks/types.rs Outdated Show resolved Hide resolved
Base automatically changed from szokeasaurusrex/refactor-get_sha1_checksums to master November 29, 2024 12:45
So that we can reuse the code for chunk uploading difs for other file types as well, replace the `ChunkedDifMatch` struct with a similar, generic type called `ChunkedObject`.

The code path is not fully generic yet, but it is a step in the right direction.

ref #2195
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/refactor-chunk-upload-dif branch from 93897c3 to c2c893d Compare November 29, 2024 13:09
@szokeasaurusrex szokeasaurusrex merged commit c2c893d into master Nov 29, 2024
14 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/refactor-chunk-upload-dif branch November 29, 2024 13:24
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