bingus.file package

Submodules

bingus.file.file module

bingus.file.file.ensure_dirs_exists(directory_path: str)

Function that ensures a directory exists.

IF the directory doesn’t exist, it is created, as well as any parent directory.

Parameters:

directory_path (str) – Path of the directory to ensure.

Returns:

:param:`directory_path`

Return type:

str

Module contents