Function: hibtypes-git-project-directory
hibtypes-git-project-directory is a byte-compiled function defined in
hib-social.el.
Signature
(hibtypes-git-project-directory PROJECT)
Documentation
Return local git repository directory for PROJECT or nil if none found.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hib-social.el
(defun hibtypes-git-project-directory (project)
"Return local git repository directory for PROJECT or nil if none found."
(if (or (and (file-readable-p hibtypes-git-repos-cache)
;; Non-zero file size
(not (zerop (nth 7 (file-attributes hibtypes-git-repos-cache)))))
(hibtypes-git-build-repos-cache t))
;; echo -n deletes trailing newline
(shell-command-to-string (format "grep -m1 '/%s$' %s | tr -d '\n'" project hibtypes-git-repos-cache))
(message "")
nil))