@nextcloud/paths
    Preparing search index...

    Function isSamePath

    • Returns whether the given paths are the same, without leading, trailing or doubled slashes and also removing the dot sections.

      Parameters

      • path1: string

        First path to check

      • path2: string

        Second path to check

      Returns boolean