MCPcopy Index your code
hub / github.com/aws/aws-cli / validate_is_zip_file

Function validate_is_zip_file

awscli/customizations/awslambda.py:51–53  ·  view source on GitHub ↗
(cli_argument, value, **kwargs)

Source from the content-addressed store, hash-verified

49
50
51def validate_is_zip_file(cli_argument, value, **kwargs):
52 if cli_argument.name == 'zip-file':
53 _should_contain_zip_content(value)
54
55
56class ZipFileArgumentHoister:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected