backblaze-labs/b2-action - v0.1.0
    Preparing search index...

    Function downloadCommand

    • Download from B2 to the local runner.

      Modes:

      • If source ends with /, treat it as a prefix and download every file under it to the local directory at destination (defaults to .).
      • Otherwise download a single file. If destination ends with / or resolves to an existing directory, write into that directory using the basename of source. Else destination is the exact output file path. If unset, the file's basename is used in the current working directory.

      Parameters

      Returns Promise<DownloadResult>