naystack - v1.5.10
    Preparing search index...

    Function deleteFile

    • Returns a function that deletes an S3 object by its full URL.

      Parameters

      • client: S3Client

        S3 client instance.

      Returns (url: string) => Promise<boolean>

      (url: string) => Promise<boolean>true if deleted successfully, false otherwise.