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

feat: add getKeys method and test #16

Merged
merged 2 commits into from
Jun 8, 2021
Merged

feat: add getKeys method and test #16

merged 2 commits into from
Jun 8, 2021

Conversation

jacksteamdev
Copy link
Contributor

Community guidelines:

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers: #15

Description

It's useful to be able to retrieve the keys that a storage bucket is using.

Usage

const keys = await bucket.getKeys()

console.log(keys) // array of key names that are stored in the bucket

@jacksteamdev jacksteamdev changed the base branch from master to beta June 8, 2021 20:02
@jacksteamdev jacksteamdev merged commit 6f853c4 into beta Jun 8, 2021
@jacksteamdev jacksteamdev deleted the add-get-keys branch June 8, 2021 20:02
@jacksteamdev jacksteamdev mentioned this pull request Jun 8, 2021
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