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

    Function purgeCommand

    • Permanently delete every file version (including hide markers and historic uploads) under a prefix. Differs from delete in that delete's implementation streams over listFileVersions and removes all versions, but purge makes the wipe-the-prefix intent explicit and warns loudly.

      If source is empty or /, this purges the entire bucket, and we require dry-run: false to be set intentionally to do so. (Default behavior is to refuse a bucket-wide purge unless source is explicitly an empty string in inputs, not undefined.)

      Supports dry-run to preview what would be deleted.

      Parameters

      Returns Promise<PurgeResult>