private PathSegment Append(PathSegment pathSegment)
 {
     return(new PathSegment($@"{_path}{pathSegment.Path}"));
 }