MCPcopy Create free account
hub / github.com/StackStorm/st2 / _mkdir

Method _mkdir

st2common/st2common/runners/parallel_ssh.py:340–347  ·  view source on GitHub ↗
(self, host, path, results)

Source from the content-addressed store, hash-verified

338 results[host] = self._generate_error_result(exc=ex, message=error)
339
340 def _mkdir(self, host, path, results):
341 try:
342 result = self._hosts_client[host].mkdir(path)
343 results[host] = result
344 except Exception as ex:
345 error = 'Failed "mkdir %s" on host %s.' % (path, host)
346 LOG.exception(error)
347 results[host] = self._generate_error_result(exc=ex, message=error)
348
349 def _delete_file(self, host, path, results):
350 try:

Callers

nothing calls this directly

Calls 2

mkdirMethod · 0.45

Tested by

no test coverage detected