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

    Class B2Folder

    Scans a B2 bucket (optionally filtered by prefix) and yields B2SyncPath entries sorted by file name. Hidden files are excluded. All versions are fetched and grouped.

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Creates a new B2Folder for the given bucket and optional prefix.

      Parameters

      • bucket: Bucket

        The B2 bucket to scan.

      • prefix: string = ''

        Optional key prefix to restrict the scan scope.

      Returns B2Folder

    Properties

    type: "b2" = ...

    Whether this folder is local or in B2.

    Methods