ancestors
Iterate over all ancestors of this path, starting with the root path (if absolute) or the first segment (if relative) and not including this path.
For example, the path :a:b:c
has the ancestors :
, :a
, and :a:b
. The path a:b:c
has the ancestors a
, and a:b
.
Since
8.13