Returns a path representing the parent of this one. This will typically return the current path component, though with a special case where the name component is empty. In such cases, the path is scanned for a prior segment:
Note that this returns a path suitable for splitting into path and name components (there's no trailing separator).
See Implementation
Returns a path representing the parent of this one. This will typically return the current path component, though with a special case where the name component is empty. In such cases, the path is scanned for a prior segment:
Note that this returns a path suitable for splitting into path and name components (there's no trailing separator).