Variable: majutsu-op--metadata-template

majutsu-op--metadata-template is a variable defined in majutsu-op.el.

Value

"concat(join(\"\\x1E\", self.id(), self.id().short(), self.user(), self.workspace_name(), self.time().start().format(\"%Y-%m-%d %H:%M:%S\"), self.time().end().format(\"%Y-%m-%d %H:%M:%S\"), self.time().duration(), if(self.root(), \"root\", if(self.snapshot(), \"snapshot\", \"op\")), self.description().first_line()), \"\\n\")"

Documentation

Template used for internal single-operation metadata queries.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-op.el
(defconst majutsu-op--metadata-template
  (majutsu-tpl
   [:concat
    [:join "\x1e"
           [:id]
           [:id :short]
           [:user]
           [:workspace_name]
           [:method [:time :start] :format "%Y-%m-%d %H:%M:%S"]
           [:method [:time :end] :format "%Y-%m-%d %H:%M:%S"]
           [:method [:time] :duration]
           [:if [:root] "root" [:if [:snapshot] "snapshot" "op"]]
           [:description :first_line]]
    "\n"]
   'Operation)
  "Template used for internal single-operation metadata queries.")