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

support deleting an object from a bucket #83

Merged
merged 1 commit into from
Jul 4, 2023
Merged

Conversation

mmmries
Copy link
Owner

@mmmries mmmries commented Jul 4, 2023

Add support for deleting objects from a bucket. I also went ahead and implemented the default behavior of ignoring deleted files when listing a bucket. This matches the go client behavior.

:ok

"""
@spec purge(conn :: Gnat.t(), stream_name :: binary()) :: :ok | {:error, any()}
Copy link
Owner Author

Choose a reason for hiding this comment

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

I needed to add support for filtered purges in order to delete the chunks for a single object without purging the whole stream

@mmmries mmmries merged commit 4d20b0e into object-store Jul 4, 2023
@mmmries mmmries deleted the del_object branch July 4, 2023 19:50
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.

1 participant