MCPcopy Create free account
hub / github.com/dashingsoft/pyarmor-webui / _build_temp

Method _build_temp

handler8.py:370–380  ·  view source on GitHub ↗
(self, args, debug=False)

Source from the content-addressed store, hash-verified

368 return output
369
370 def _build_temp(self, args, debug=False):
371 self._build_data(args)
372
373 name = 'project-%s' % self.temp_id
374 path = os.path.join(self._get_path(), name)
375
376 if os.path.exists(path):
377 shutil.rmtree(path)
378 os.mkdir(path)
379
380 return self._build_target(path, args, debug=debug)
381
382 def do_new(self, args):
383 c = self._get_config()

Callers 1

do_buildMethod · 0.95

Calls 3

_build_dataMethod · 0.95
_build_targetMethod · 0.95
_get_pathMethod · 0.80

Tested by

no test coverage detected