Browse Source

Add accessor for a document's revision

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

+ 4
- 0
libelcouch.el View File

@ -124,6 +124,10 @@ considered to have failed."
(cl-defmethod libelcouch-entity-url ((instance libelcouch-instance))
(libelcouch--instance-url instance))
(defun libelcouch-document-revision (document)
"Return the revision of DOCUMENT as a string."
(libelcouch--document-revision document))
;;; Private helpers


Loading…
Cancel
Save