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

Method GetInvalList

S3/CloudFront.py:509–514  ·  view source on GitHub ↗
(self, cfuri)

Source from the content-addressed store, hash-verified

507 return responses
508
509 def GetInvalList(self, cfuri):
510 if cfuri.type != "cf":
511 raise ValueError("Expected CFUri instead of: %s" % cfuri)
512 response = self.send_request("GetInvalList", dist_id = cfuri.dist_id())
513 response['inval_list'] = InvalidationList(response['data'])
514 return response
515
516 def GetInvalInfo(self, cfuri):
517 if cfuri.type != "cf":

Callers 1

invalinfoMethod · 0.95

Calls 3

send_requestMethod · 0.95
InvalidationListClass · 0.85
dist_idMethod · 0.80

Tested by

no test coverage detected