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.
Permanently delete every file version (including hide markers and historic uploads) under a prefix. Differs from
deletein thatdelete's implementation streams overlistFileVersionsand removes all versions, butpurgemakes the wipe-the-prefix intent explicit and warns loudly.If
sourceis empty or/, this purges the entire bucket, and we requiredry-run: falseto be set intentionally to do so. (Default behavior is to refuse a bucket-wide purge unlesssourceis explicitly an empty string in inputs, not undefined.)Supports
dry-runto preview what would be deleted.