remove_temp_directories

Summary

remove_temp_directories(directories)

This function empties and removes all the directories passed to it.

It is only used by the zip part of this module to clean up its mess as it has to extract the zip, then load it in as a Python object, then delete the files from disk.

Parameters:

directories (list[Path]) – A list of directories to remove.

Importing

from cs_board_tools.utilities.filesystem import remove_temp_directories