MCPcopy Create free account
hub / github.com/s3tools/s3cmd / object_delete

Method object_delete

S3/S3.py:891–896  ·  view source on GitHub ↗
(self, uri)

Source from the content-addressed store, hash-verified

889 return response
890
891 def object_delete(self, uri):
892 if uri.type != "s3":
893 raise ValueError("Expected URI type 's3', got '%s'" % uri.type)
894 request = self.create_request("OBJECT_DELETE", uri = uri)
895 response = self.send_request(request)
896 return response
897
898 def object_restore(self, uri):
899 if uri.type != "s3":

Callers 1

object_moveMethod · 0.95

Calls 2

create_requestMethod · 0.95
send_requestMethod · 0.95

Tested by

no test coverage detected