MCPcopy Create free account
hub / github.com/microsoft/debugpy / _shell_unquote

Method _shell_unquote

tests/debug/session.py:605–609  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

603
604 @staticmethod
605 def _shell_unquote(s):
606 s = str(s)
607 if len(s) >= 2 and s[0] == s[-1] and s[0] in ("\"", "'"):
608 return s[1:-1]
609 return s
610
611 @classmethod
612 def _split_shell_arg_string(cls, s):

Callers 2

run_in_terminalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected