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

Add blob_exist? and container_exist? #11

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Add blob_exist? and container_exist? #11

merged 1 commit into from
Dec 10, 2024

Conversation

JoeDupuis
Copy link
Member

Fixes #9

Add blob_exist? and container_exist?.

Those method do not raise like get_blob_properties(...).present? does and are less verbose.

get_container_properties doesn't raise (which is an issue since the api is not consistent), but I added container_exist? for consistency. Plus it's shorter!

@JoeDupuis JoeDupuis merged commit 88e538d into main Dec 10, 2024
1 check failed
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.

Azure get_blob_properties not ideal to check for blob existence
1 participant