Skip to content

Commit

Permalink
Adjust permissions to support uniffi module outside the repo (#175)
Browse files Browse the repository at this point in the history
* Adjust permissions to support uniffi module outside the repo

Signed-off-by: conanoc <conanoc@gmail.com>

* respond to comments

Signed-off-by: conanoc <conanoc@gmail.com>

* hide store, return tags as slice

Signed-off-by: conanoc <conanoc@gmail.com>

* revert unnecessary changes

Signed-off-by: conanoc <conanoc@gmail.com>

---------

Signed-off-by: conanoc <conanoc@gmail.com>
Co-authored-by: Andrew Whitehead <cywolf@gmail.com>
  • Loading branch information
conanoc and andrewwhitehead authored Sep 8, 2023
1 parent b9f004c commit 53d7d1c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/kms/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ impl KeyEntry {
self.name.as_str()
}

/// Accessor for the key tags
pub fn tags_as_slice(&self) -> &[EntryTag] {
self.tags.as_slice()
}

/// Determine if a key entry refers to a local or external key
pub fn is_local(&self) -> bool {
self.params.reference.is_none()
Expand Down

0 comments on commit 53d7d1c

Please sign in to comment.