ensure_dir

ketos.utils.ensure_dir(file_path)[source]

Ensure that destination directory exists.

If the directory does not exist, it is created. If it already exists, nothing happens.

Args:
file_path: str

Full path to destination