Returns a resolved Path object relative to the given pathname.
The path to resolve, either a string or a partial Path object.
The pathname to resolve the path from. Defaults to /.
/
A Path object with the resolved pathname, search, and hash.
Returns a resolved Path object relative to the given pathname.