feat: add DeleteObject
This commit is contained in:
parent
d7da471b8b
commit
c534162d6c
|
@ -230,3 +230,7 @@ func (r *RenterDefault) UploadObjectMultipart(ctx context.Context, params *Multi
|
|||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (r *RenterDefault) DeleteObject(ctx context.Context, bucket string, fileName string) error {
|
||||
return r.workerClient.DeleteObject(ctx, bucket, fileName, api.DeleteObjectOptions{})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue