Ensure a set of lines exist (exact match) in a file. Creates the file
when missing. Returns whether it was created or changed.
An existing file is never rewritten: its content (blank lines, line
endings) is kept and only the missing lines are appended, in the file's own
line ending (CRLF when it has any, else LF).
Ensure a set of lines exist (exact match) in a file. Creates the file when missing. Returns whether it was created or changed.
An existing file is never rewritten: its content (blank lines, line endings) is kept and only the missing lines are appended, in the file's own line ending (CRLF when it has any, else LF).