Variable: majutsu-workspace--template-plan

majutsu-workspace--template-plan is a variable defined in majutsu-workspace.el.

Value

(:fields (current name change-id commit-id desc root) :specs
	 ((:template [:if [:target :current_working_copy] "@"] :parse
		     majutsu-workspace--parse-current)
	  (:template [:name] :json t :label "name" :parse identity)
	  (:template [:target :change_id :shortest 8] :parse identity)
	  (:template [:target :commit_id :shortest 8] :parse identity)
	  (:template [:target :description :first_line] :json t :label
		     "description first_line" :parse
		     majutsu-workspace--parse-desc)
	  (:template [:root] :json t :label "root" :parse
		     majutsu-workspace--parse-root))
	 :template
	 "concat(join(\"\\0\", if(self.target().current_working_copy(), \"@\"), label(\"name\", json(self.name())), self.target().change_id().shortest(8), self.target().commit_id().shortest(8), label(\"description first_line\", json(self.target().description().first_line())), label(\"root\", json(self.root()))), \"\\0\")")

Documentation

Compiled template plan for structured workspace list output.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-workspace.el
(defconst majutsu-workspace--template-plan
  (majutsu-workspace--compile-fields majutsu-workspace--default-fields)
  "Compiled template plan for structured workspace list output.")