@classmethod
def file_to_delete(cls, all_files=False):
    '\n        Return the list of file to delete.\n        '
    directory = '{0}{1}'.format(PyFunceble.OUTPUT_DIRECTORY, PyFunceble.OUTPUTS.parent_directory)
    if (not directory.endswith(directory_separator)):
        directory += directory_separator
    result = []
    for (root, _, files) in walk(directory):
        for file in files:
            if (file in ['.gitignore', '.keep']):
                continue
            if ((not all_files) and ('logs' in root) and ('.log' in file)):
                continue
            if root.endswith(directory_separator):
                result.append((root + file))
            else:
                result.append(((root + directory_separator) + file))
    return result
Return the list of file to delete.
@classmethod
def file_to_delete(cls, all_files=False):
    '\n        \n        '
    directory = '{0}{1}'.format(PyFunceble.OUTPUT_DIRECTORY, PyFunceble.OUTPUTS.parent_directory)
    if (not directory.endswith(directory_separator)):
        directory += directory_separator
    result = []
    for (root, _, files) in walk(directory):
        for file in files:
            if (file in ['.gitignore', '.keep']):
                continue
            if ((not all_files) and ('logs' in root) and ('.log' in file)):
                continue
            if root.endswith(directory_separator):
                result.append((root + file))
            else:
                result.append(((root + directory_separator) + file))
    return result