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

Method _check_path

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

Source from the content-addressed store, hash-verified

60 raise RuntimeError('Invalid argument "%s"' % name)
61
62 def _check_path(self, path):
63 if not os.path.exists(path):
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

Callers 4

_build_dataMethod · 0.80
do_registerMethod · 0.80
do_removeMethod · 0.80
_build_dataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected