- act.utils.cleanup_files(dirname=None, files=None)#
Cleans up files and directory possibly created from unpacking TAR files with unpack_tar()
dirname (str, pathlib.Path, None) – Path to directory of extracted files which will be removed.
files (str, pahtlib.Path, list, None) – Full path file name(s) from extracted TAR file. Assumes the directory this file exists in should be removed.