@nextcloud/paths
    Preparing search index...

    Function normalize

    • Normalizes the given path by removing leading, trailing and doubled slashes and also removing the dot sections.

      Parameters

      • path: string

        The path to normalize

      Returns string