Function: secrets-list-items

secrets-list-items is a byte-compiled function defined in secrets.el.gz.

Signature

(secrets-list-items COLLECTION)

Documentation

Return a list of all item labels of COLLECTION.

Source Code

;; Defined in /usr/src/emacs/lisp/net/secrets.el.gz
(defun secrets-list-items (collection)
  "Return a list of all item labels of COLLECTION."
  (let ((collection-path (secrets-unlock-collection collection)))
    (unless (secrets-empty-path collection-path)
      (mapcar
       (lambda (item-path)
	 (secrets-get-item-property item-path "Label"))
       (secrets-get-items collection-path)))))