MCPcopy Create free account
hub / github.com/dbcli/mssql-cli / _remove_cmd_chars

Function _remove_cmd_chars

mssqlcli/telemetry.py:250–253  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

248
249
250def _remove_cmd_chars(s):
251 if isinstance(s, str):
252 return s.replace("'", '_').replace('"', '_').replace('\r\n', ' ').replace('\n', ' ')
253 return s
254
255
256def _remove_symbols(s):

Callers 3

_get_env_stringFunction · 0.85
_get_shell_typeFunction · 0.85
_get_stack_traceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected