adding example and test information to readme.adoc

This commit is contained in:
2021-12-10 03:47:10 -05:00
parent 94ae20829e
commit 142c0ba74f
3 changed files with 146 additions and 3 deletions

View File

@@ -91,7 +91,11 @@ func (c *Collection) Delete() (err error) {
return
}
// SearchItems searches a Collection for a matching profile string.
/*
SearchItems searches a Collection for a matching profile string.
It's mostly a carry-over from go-libsecret, and is here for convenience.
I promise it's not useful for any other implementation/storage of SecretService whatsoever.
*/
func (c *Collection) SearchItems(profile string) (items []*Item, err error) {
var paths []dbus.ObjectPath