mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 21:55:56 +03:00
[PR #18] [MERGED] fakestorage: add support for MD5 checksum of object content #270
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#270
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fsouza/fake-gcs-server/pull/18
Author: @whiteley
Created: 3/14/2019
Status: ✅ Merged
Merged: 3/15/2019
Merged by: @fsouza
Base:
master← Head:add-md5📝 Commits (1)
e5cce07fakestorage: add support for MD5 checksum of object content📊 Changes
7 files changed (+64 additions, -13 deletions)
View changed files
📝
fakestorage/object.go(+5 -1)📝
fakestorage/object_test.go(+17 -2)📝
fakestorage/response.go(+9 -7)📝
fakestorage/upload.go(+19 -2)📝
fakestorage/upload_test.go(+8 -0)📝
internal/backend/backend_test.go(+5 -1)📝
internal/backend/object.go(+1 -0)📄 Description
We'd like to use this library to test some GCS related code that relies on the MD5 object attributes. From my testing, I believe this to be correct and I greatly cribbed off the crc32c implementation. Happy to implement any improvements suggested though.
Thanks for the library!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.