Browse Source

Add a function to list configured CouchDB instances

elexandria
Damien Cassou 3 years ago
parent
commit
d32353979d
No known key found for this signature in database GPG Key ID: A7123815F5DCE914
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      libelcouch.el

+ 8
- 0
libelcouch.el View File

@ -160,6 +160,14 @@ considered to have failed."
;;; Navigating
(defun libelcouch-instances ()
"Return a list of couchdb instances built from `libelcouch-couchdb-instances'."
(mapcar
(lambda (instance-data) (libelcouch--instance-create
:name (car instance-data)
:url (cadr instance-data)))
libelcouch-couchdb-instances))
(cl-defgeneric libelcouch-entity-list (entity function)
"Evaluate function with the children of ENTITY as parameter."
(request


Loading…
Cancel
Save