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

    Function asRawB2KeyPrefix

    • Treats the supplied string as a raw B2 key prefix without adding a folder boundary.

      B2 keys are byte-oriented names, not local filesystem paths. A backslash in a prefix is a real key character and must not be rewritten to /; callers that want slash-delimited prefixes should pass / explicitly.

      Parameters

      • prefix: string

        User-supplied raw B2 key prefix.

      Returns string

      Raw B2 key prefix.