Function: treemacs--get-or-parse-git-result
treemacs--get-or-parse-git-result is a byte-compiled function defined
in treemacs-async.el.
Signature
(treemacs--get-or-parse-git-result FUTURE)
Documentation
Get the parsed git result of FUTURE.
Parse and set it if it hasn't been done yet. If FUTURE is nil an empty hash table is returned.
FUTURE: Pfuture process
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-async.el
(define-inline treemacs--get-or-parse-git-result (future)
"Get the parsed git result of FUTURE.
Parse and set it if it hasn't been done yet. If FUTURE is nil an empty hash
table is returned.
FUTURE: Pfuture process"
(inline-letevals (future)
(inline-quote
(if ,future
(--if-let (process-get ,future 'git-table)
it
(let ((result (treemacs--git-status-parse-function ,future)))
(process-put ,future 'git-table result)
result))
treemacs--empty-table))))