parameters: (path, lines, lineEndToUse)
docstring: Join the lines with the lineEndToUse then update file if the result is different.
docstring_summary: Join the lines with the lineEndToUse then update file if the result is different.
docstring_tokens: Join the lines with the lineEndToUse then update file if the result is different .
function: def UpdateFileFromLines(path, lines, lineEndToUse):
      """Join the lines with the lineEndToUse then update file if the result is different.
      """
      contents = lineEndToUse.join(lines) + lineEndToUse
      UpdateFile(path, contents)
function_tokens: def UpdateFileFromLines ( path , lines , lineEndToUse ) : contents = lineEndToUse . join ( lines ) + lineEndToUse UpdateFile ( path , contents )