Function RefersToRelativeParent#

Function Documentation#

inline bool RefersToRelativeParent(const std::filesystem::path &rpathRelative)#

Check whether the relative path directs to a parent path.

Detect whether a relative path directs to a parent path. For example with “./dir1/dir2/../dir3”; this is not the case, but with “./dir1/dir2/../../../dir3” this is the case.

Parameters:

rpathRelative[in] Reference to the relative path to check for.

Returns:

Returns whether the relative path refers to the