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 get method for Blob #44

Merged
merged 1 commit into from
Nov 30, 2019
Merged

Add get method for Blob #44

merged 1 commit into from
Nov 30, 2019

Conversation

zebp
Copy link
Contributor

@zebp zebp commented Nov 30, 2019

Currently Blob does not have a method to try to get a value by name. The only way to get a value from a Blob is to index by name, which will panic if the value doesn't exist. This pull requests adds a method to get by name, returning an Option.

@atheriel
Copy link
Collaborator

Looks good, thanks!

@atheriel atheriel merged commit cf28cc8 into PistonDevelopers:master Nov 30, 2019
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.

2 participants