feat: add DeleteObject

This commit is contained in:
Derrick Hammer 2024-02-16 21:59:02 -05:00
parent d7da471b8b
commit c534162d6c
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 4 additions and 0 deletions

View File

@ -230,3 +230,7 @@ func (r *RenterDefault) UploadObjectMultipart(ctx context.Context, params *Multi
return nil return nil
} }
func (r *RenterDefault) DeleteObject(ctx context.Context, bucket string, fileName string) error {
return r.workerClient.DeleteObject(ctx, bucket, fileName, api.DeleteObjectOptions{})
}