dctools.utilities.file_utils.remove_file

dctools.utilities.file_utils.remove_file(filepath)

Remove a local file.

Parameters:

filepath (str) – Path of the file to remove.

Returns:

True if the file was deleted, False otherwise.

Return type:

bool