Function: projectile-dashboard--render-tasks

projectile-dashboard--render-tasks is a byte-compiled function defined in projectile.el.

Signature

(projectile-dashboard--render-tasks DATA)

Documentation

Render DATA's project tasks.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-dashboard--render-tasks (data)
  "Render DATA's project tasks."
  (let ((root (plist-get data :root))
        (tasks (plist-get data :tasks)))
    (projectile-dashboard--section "Tasks")
    (if (null tasks)
        (insert "No tasks defined for this project (see `projectile-tasks').\n")
      (dolist (task tasks)
        (projectile-dashboard--entry (car task) 'projectile-dashboard-task root
                                     'projectile-task (car task)
                                     'projectile-command (cdr task))
        (insert (if (stringp (cdr task)) (cdr task) "computed at run time")
                "\n")))))