Delete a dir on remote hosts. :param path: Path to remote dir that must be deleted. Must be shlex quoted. :type path: ``str`` :rtype path: ``dict`` of ``str`` to ``dict``
(self, path, force=False, timeout=None)
| 212 | return self._execute_in_pool(self._delete_file, **options) |
| 213 | |
| 214 | def delete_dir(self, path, force=False, timeout=None): |
| 215 | """ |
| 216 | Delete a dir on remote hosts. |
| 217 | |
| 218 | :param path: Path to remote dir that must be deleted. Must be shlex quoted. |
| 219 | :type path: ``str`` |
| 220 | |
| 221 | :rtype path: ``dict`` of ``str`` to ``dict`` |
| 222 | """ |
| 223 | |
| 224 | options = {"path": path, "force": force} |
| 225 | return self._execute_in_pool(self._delete_dir, **options) |
| 226 | |
| 227 | def close(self): |
| 228 | """ |