@backblaze-labs/b2-sdk - v0.2.0
    Preparing search index...

    Function compareSyncRelativePaths

    • Compares sync-relative paths using the same code-unit order everywhere sorted scans are consumed.

      Parameters

      • left: string

        First sync-relative path.

      • right: string

        Second sync-relative path.

      Returns number

      Negative, zero, or positive using JavaScript code-unit order.