Function: forge-get-parent

forge-get-parent is a byte-compiled function defined in forge-core.el.

Signature

(forge-get-parent OBJECT)

Documentation

Return the parent object of OBJECT.

The hierarchy is repository > topic > post. For other objects return nil.

Implementations

(forge-get-parent (TOPIC forge-topic)) in `forge-topic.el'.

Undocumented

(forge-get-parent (POST forge-post)) in `forge-post.el'.

Undocumented

Source Code

;; Defined in ~/.emacs.d/elpa/forge-20260408.1922/forge-core.el
;;; Query

(cl-defgeneric forge-get-parent (object)
  "Return the parent object of OBJECT.
The hierarchy is repository > topic > post.
For other objects return nil.")