MCPcopy
hub / github.com/RUB-NDS/PRET / escape

Method escape

postscript.py:158–159  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

156
157 # escape postscript pathname
158 def escape(self, path):
159 return path.replace('\\', '\\\\').replace('(', '\(').replace(')', '\)')
160
161 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
162 # get complete list of files and directories on remote device

Callers 8

dir_existsMethod · 0.95
dirlistMethod · 0.95
do_replaceMethod · 0.95
do_printenvMethod · 0.80
ippMethod · 0.80
snmpMethod · 0.80
set_supportMethod · 0.80
beautifyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected