Linux algorithms documentation

Install libre function

main.linux.install_libre()

install libre on environment :return:

Convert linux function

main.linux.convert_linux(filepath: str, files: List[str], converted_file_path: str, has_type_in_request: Dict[str, bool])

Conversion algorithm for Linux-like OS.

Parameters:
  • has_type_in_request (Dict[str, bool]) – flag of each type in request

  • converted_file_path (str) – path to output files

  • filepath (str) – path to input files

  • files (list of str) – file names

Returns:

path to converted files

Return type:

str