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

Method mkdir

st2common/st2common/runners/parallel_ssh.py:188–199  ·  view source on GitHub ↗

Create a directory on remote hosts. :param path: Path to remote dir that must be created. Must be shlex quoted. :type path: ``str`` :rtype path: ``dict`` of ``str`` to ``dict``

(self, path)

Source from the content-addressed store, hash-verified

186 return self._execute_in_pool(self._put_files, **options)
187
188 def mkdir(self, path):
189 """
190 Create a directory on remote hosts.
191
192 :param path: Path to remote dir that must be created. Must be shlex quoted.
193 :type path: ``str``
194
195 :rtype path: ``dict`` of ``str`` to ``dict``
196 """
197
198 options = {"path": path}
199 return self._execute_in_pool(self._mkdir, **options)
200
201 def delete_file(self, path):
202 """

Callers 1

_mkdirMethod · 0.45

Calls 1

_execute_in_poolMethod · 0.95

Tested by

no test coverage detected