MCPcopy Index your code
hub / github.com/dashingsoft/pyarmor-webui / _format_path

Method _format_path

handler.py:66–67  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

64 raise RuntimeError('This path %s does not exists' % path)
65
66 def _format_path(self, path):
67 return path.strip('/') if sys.platform == 'win32' else path
68
69 def _get_path(self):
70 c = self._config

Callers 7

_build_dataMethod · 0.80
_build_targetMethod · 0.80
_createMethod · 0.80
_build_dataMethod · 0.80
_build_targetMethod · 0.80
_createMethod · 0.80
do_newMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected