Yep, that's exactly what I was getting at. You literally just push a Path to a PathBuf and there it is, and now it's been attached as a child directory. No need to resolve anything else.
String has a split() - that should help!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yep, that's exactly what I was getting at. You literally just
push
aPath
to aPathBuf
and there it is, and now it's been attached as a child directory. No need to resolve anything else.String has a
split()
- that should help!