Contents

commonPrefix(with:)

Returns the longest common ancestor path of this path and other.

Declaration

func commonPrefix(with other: USDLayer.Path) -> USDLayer.Path

Parameters

  • other:

    The path to compare against.

Return Value

The longest path that is a prefix of both.