gigl.common.utils.append_line_to_file#

gigl.common.utils.local_fs.append_line_to_file(file_path: LocalUri, line: str) None#

Append a line to a file if it doesn’t already exist in the file.

Args:

file_path (LocalUri): The path of the file to append the line to. line (str): The line to append.

Returns:

None