warg.os_utilities.path_functions.ensure_existence¶
- warg.os_utilities.path_functions.ensure_existence(out: ~pathlib.Path | str, *, enabled: bool = True, declare_file: bool = False, overwrite_on_wrong_type: bool = False, force_overwrite: bool = False, verbose: bool = False, sanitisation_func: ~typing.Callable = <function sanitise_path>) Path[source]¶
- Parameters:
verbose –
overwrite_on_wrong_type –
force_overwrite –
declare_file –
sanitisation_func –
out –
enabled –
- Returns:
- Return type: