Optional
Yields item arrays from end back to index, yield true on last
Yields item arrays from index to end, yield true on first
Return oldPath and newPath excluding the common part
The paths are equal
Return a new Path with the last segment added
Return a new Path with the last segment removed
Yields item arrays from end back to index, yield true on last