Function: hibtypes-git-build-or-add-to-repos-cache
hibtypes-git-build-or-add-to-repos-cache is a byte-compiled function
defined in hib-social.el.
Signature
(hibtypes-git-build-or-add-to-repos-cache PROJECT)
Documentation
Add PROJECT directory to local repo cache in hibtypes-git-repos-cache.
If cache does not exist or is empty, prompt user whether to build the cache. Return t if built, nil otherwise.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hib-social.el
(defun hibtypes-git-build-or-add-to-repos-cache (project)
"Add PROJECT directory to local repo cache in `hibtypes-git-repos-cache'.
If cache does not exist or is empty, prompt user whether to build the
cache. Return t if built, nil otherwise."
(if (and (file-readable-p hibtypes-git-repos-cache)
;; Non-zero file size
(not (zerop (nth 7 (file-attributes hibtypes-git-repos-cache)))))
(hibtypes-git-add-project-to-repos-cache project)
(hibtypes-git-build-repos-cache t)))