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

    Function b2KeyToRelativePathUnderPrefix

    • Converts a B2 object key under a configured raw prefix into a sync relative path.

      Parameters

      • prefix: string

        Raw B2 key prefix used for the scan or mutation guard.

      • fileName: string

        Full B2 object key.

      Returns string

      The normalized sync relative path for the key suffix.