Function: treemacs--parse-flattened-dirs
treemacs--parse-flattened-dirs is a byte-compiled function defined in
treemacs-async.el.
Signature
(treemacs--parse-flattened-dirs PATH FUTURE)
Documentation
Parse the output of flattened dirs in PATH with FUTURE.
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-async.el
(defun treemacs--parse-flattened-dirs (path future)
"Parse the output of flattened dirs in PATH with FUTURE."
(when future
(-if-let (output (process-get future 'output))
(ht-get output path)
(let* ((stdout (pfuture-await-to-finish future))
(output (if (= 0 (process-exit-status future))
(read stdout)
(ht))))
(process-put future 'output output)
(ht-get output path)))))