Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/s3/src/bucket.ts>S3Bucket#empty

Amazon S3 for Deno
Latest
method S3Bucket.prototype.empty
import { S3Bucket } from "https://deno.land/x/s3@0.5.0/src/bucket.ts";

Deletes all objects in the bucket recursively. Returns a list of deleted keys.

Returns

Promise<string[]>