act.utils.cleanup_files#
- act.utils.cleanup_files(dirname=None, files=None)[source]#
Cleans up files and directory possibly created from unpacking TAR files with unpack_tar()
- Parameters:
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.