std::io::path

parent

fn Path? Path.parent(self)
Get the path of the parent. This does not allocate, but returns a slice
of the path itself.

Parameters