org-get-outline-path

org-get-outline-path is a compiled Lisp function in `org.el'.

(org-get-outline-path &optional FASTP LEVEL HEADING)

Return the outline path to the current entry, as a list.

The parameters FASTP, LEVEL, and HEADING are for use by a scanner
routine which makes outline path derivations for an entire file,
avoiding backtracing. Refile target collection makes use of that.