mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-26 06:05:54 +03:00
[PR #538] [MERGED] Add compose function support #695
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#695
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/538
Author: @nmbryant
Created: 7/20/2021
Status: ✅ Merged
Merged: 7/21/2021
Merged by: @fsouza
Base:
main← Head:compose-object📝 Commits (4)
18a9e50Adds endpoint to support compose on objectsef7de8fFixes typo in test, removes unnecessary slice from ComposeObjectddfffb4Fixes linter errorscc078bfUses an anonymous struct in composeObject, changes error code if compose fails📊 Changes
6 files changed (+261 additions, -0 deletions)
View changed files
📝
fakestorage/object.go(+43 -0)📝
fakestorage/object_test.go(+146 -0)📝
fakestorage/server.go(+1 -0)📝
internal/backend/fs.go(+35 -0)📝
internal/backend/memory.go(+35 -0)📝
internal/backend/storage.go(+1 -0)📄 Description
Adds a compose endpoint to merge the content of source objects into the destination object.
Closes: #527
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.