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

Fix for Issue #145: File Opening Mode #148

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lxily
Copy link

@lxily lxily commented Jun 23, 2024

Added file opening mode to address issue #145.

@@ -360,6 +360,7 @@ struct ComposeObjectArgs : public ObjectWriteArgs {

struct UploadObjectArgs : public PutObjectBaseArgs {
std::string filename;
std::ios_base::openmode openmode = std::ios_base::in;
Copy link
Member

@balamurugana balamurugana Jun 23, 2024

Choose a reason for hiding this comment

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

  1. We do not need this field. You would need to hardcode the value.
  2. Add a functional test so that CI does the testing.

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.

None yet

2 participants