gigl.common.utils.remove_folder_if_exist#

gigl.common.utils.local_fs.remove_folder_if_exist(local_path: LocalUri, ignore_errors: bool = True) None#

Remove a folder if it exists.

Args:

local_path (LocalUri): The local path of the folder to be removed. ignore_errors (bool): If True, ignore errors during removal. Defaults to True.

Returns:

None