isAncestorOfOrEqual(to:)

Returns true if the path is an ancestor of or equal to the given path.

AbsolutePath.swift:230
func isAncestorOfOrEqual(to descendant: AbsolutePath) -> Bool

This method is strictly syntactic and does not access the file system in any way.