Path::Iterator::previous()?

Can we get a Path::Iterator::previous() method that lets us iterate through a path in reverse?

Also, how about a way to reset the index of the Path::Iterator and also copy an iterator, so you can clone current iterator settings.

Not really something I’d want to add. Reverse iteration of a path would be difficult and probably wouldn’t give the result you expect, as the order is important.

Some other kind of data structure would probably make more sense for you, depending on what you’re actually trying to do.