Rename verify to verify-backend

This commit is contained in:
contrapunctus 2022-01-11 18:26:03 +05:30
parent 8e94af2f32
commit 4418bb647a
2 changed files with 5 additions and 5 deletions

View File

@ -951,7 +951,7 @@ backend file).")
;; on-change:1 ends here
;; [[file:chronometrist.org::*verify][verify:1]]
(cl-defgeneric chronometrist-verify (backend)
(cl-defgeneric chronometrist-verify-backend (backend)
"Check BACKEND for errors in data.
Return nil if no errors are found.
@ -1770,7 +1770,7 @@ Return value is either a list in the form
;; on-remove:1 ends here
;; [[file:chronometrist.org::*verify][verify:1]]
(cl-defmethod chronometrist-verify ((backend chronometrist-plist-group-backend))
(cl-defmethod chronometrist-verify-backend ((backend chronometrist-plist-group-backend))
(with-slots (file hash-table) backend
;; incorrectly ordered groups check
(chronometrist-loop-sexp-file for group in file

View File

@ -279,7 +279,7 @@ The protocol as of now, with remarks -
15. =on-modify (backend)=
16. =on-remove (backend)=
17. =on-change (backend)=
18. =verify (backend)=
18. =verify-backend (backend)=
19. =on-file-path-change (backend old-path new-path)=
20. =reset-backend (backend)= - probably rename to "initialize"
21. =memory-layer-empty-p (backend)= - needs a more generic name; perhaps "initialized-p", to go with #20
@ -1578,7 +1578,7 @@ backend file).")
***** verify :generic:function:
#+BEGIN_SRC emacs-lisp
(cl-defgeneric chronometrist-verify (backend)
(cl-defgeneric chronometrist-verify-backend (backend)
"Check BACKEND for errors in data.
Return nil if no errors are found.
@ -2703,7 +2703,7 @@ Return value is either a list in the form
**** verify :reader:method:
#+BEGIN_SRC emacs-lisp
(cl-defmethod chronometrist-verify ((backend chronometrist-plist-group-backend))
(cl-defmethod chronometrist-verify-backend ((backend chronometrist-plist-group-backend))
(with-slots (file hash-table) backend
;; incorrectly ordered groups check
(chronometrist-loop-sexp-file for group in file