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

    Function largeFileId

    • Creates a branded LargeFileId from a raw string.

      LargeFileId is the same wire-level shape as FileId but is a distinct brand so that "ID of an in-progress multipart upload" and "ID of a committed file version" don't get mixed up by accident. b2_start_large_file returns one; b2_finish_large_file consumes it and produces a regular FileId.

      Parameters

      • raw: string

        The raw large-file ID string from the B2 API.

      Returns LargeFileId

      A branded LargeFileId value.