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

Function _escape_quotes

awscli/testutils.py:690–697  ·  view source on GitHub ↗
(command)

Source from the content-addressed store, hash-verified

688
689
690def _escape_quotes(command):
691 # For windows we have different rules for escaping.
692 # First, double quotes must be escaped.
693 command = command.replace('"', '\\"')
694 # Second, single quotes do nothing, to quote a value we need
695 # to use double quotes.
696 command = command.replace("'", '"')
697 return command
698
699
700def aws(

Callers 1

awsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected